ResourceExists
Check to see if a resource exists.
Note: This procedure is different from the web services operation of the same name, which is in the resource tree under /services/webservices/system/admin/resource/operations/.
Location
/lib/resource/
Inputs
path: The path to the resource to check.
type: The type of the resource to check.
version: Reserved for future use. (Only accepts NULL.)
Output
exists: TRUE if the resource exists, otherwise FALSE.
Exceptions
IllegalArgumentException: If the path is malformed, if an illegal type is provided, or if version is not NULL.
SecurityException: If the user does not have READ access on all items in path other than the last one.