public boolean containsOfType ( final Class < ? extends Tag > type ) { read . lock ( ) ; try { return tags . containsKey ( type ) ; } finally { read . unlock ( ) ; } }
Checks whether the tag set contains any tags of that type .