The target_tag function returns 1 (true) if the tag named tagname is declared as a target element in the .dcf file for the document type associated with doc. If doc is omitted or 0, the current document is used.
If you have applied an alias map to the document, tagname can be either an alias or a real name.