isObjectPersistent

isObjectPersistent(obj: Object): Boolean;

The isObjectPersistent method of the Object class returns true if the object specified in the obj parameter is a persistent instance or it returns false if it is not.