Programmer's Guide > Interfaces > Application interface > logicalIdExists method
  
logicalIdExists method
Tests the existence of Logical IDs associated with any active CMS session as well as for file-system and http/https resources.
logicalIdExists(logicalId )
Parameters
StringlogicalId
Logical ID for a CMS or a file-system or http/https resource.
Returns
trueboolean. if the referenced object/resource exists, false otherwise.
If there is any error accessing the resource, this will return false and will not throw an exception.