Model Object
isPersisted()
Signature
Section titled “Signature”isPersisted() — returns boolean
Available in: model
Category: Miscellaneous Functions
Description
Section titled “Description”Returns true if this object has been persisted to the database or was loaded from the database via a finder.
Returns false if the record has not been persisted to the database.