$existsDocumentItem

Examines if a document item with the given name exists.
Syntax
    $existsDocumentItem{doc_name}
DocumentationExamines if a document item with the given name exists:

    Parameters:
      doc_name, the name of the document item whos existance is to be examined.
    Returns:
      1 if and only if the document item with the given name exists; 0 otherwise.
Examples
Example 1:
    $createDocumentItem{SITEFORUM}
    {value}
    $existsDocumentItem{SITEFORUM}

    Result 1:
    creates documentitem "SITEFORUM" and its value, returns true if documentitem
    exists:
    1
Example 2:
    $createDocumentItem{SITEFORUM1}
    {value1}
    $if {$existsDocumentItem{SITEFORUM1}}
      {
      SITEFORUM1 exists
      }
        {
        SITEFORUM1 does not exist
        }
GroupBranch
Minimum required transaction-mode:READ
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1