Arbortext Command Language > Functions by Alphabetical Listing > entity_exists
  
entity_exists
entity_exists (entity[, doc])
 
This function returns 1 (True) if the entity name specified by entity is defined in the DTD or in the section of the document instance that contains document-specific markup declarations. The entity name need not start with `&'. The doc argument specifies the identifier of the document tree to query. If omitted or 0, the current document is used.