Programmer's Guide > Interfaces > CMSSession interface > objectExists method
  
objectExists method
Indicates whether an object exists in the CMS. The object is identified by a Logical ID. It is sufficient for this method to ensure that the Logical ID or Persistent Object Identifier (POID) format is correct. To verify the object's actual existence in the CMS, and its accessibility, Application.constructObject must be used.
objectExists(logicalId )
Parameters
StringlogicalId
Specifies a Logical ID.
Returns
boolean. Returns true if the object exists. Returns false if it does not.
Throws
CMSException
If an error occurs.