public boolean hasDocumentType(String name) {
        return (getDocumentType(name) != null);
    }
Convenience method
@param name the name of a document type
@return returns true if a document type having this name is registered in this manager
document/src/main/java/com/yahoo/document/DocumentTypeManager.java