$boolean = $session->instanceExists( $object )

The InstanceExists() function is an alias for exists(). The section “exists” on page 77 provides additional information.


Use the ASL-like function InCharge::object::isNull() instead of this primitive. Note that the sense of the return value is reversed.

Indicates whether or not the named object is present in the repository.

However, the class name and instance name should be specified in the $object parameter.

 $exists = $session->instanceExists( "Router::gw1" );