code: public boolean containsOfType(final Class<? extends Tag> type) {
  	read.lock();
  	try {
  	    return tags.containsKey(type);
  	} finally {
  	    read.unlock();
  	}
      }
docs: Checks whether the tag set contains any tags of that type.
  
  @param type
  Type of tag.
  @return {@code true} if the set contains any tags of the specified type or {@code false} if
  it does not.