Retrieves whether the object is persistent or not.
true if the object is persistent; otherwise, the method returns false.