Neos\Flow\Persistence\Generic\PersistenceManager::isNewObject PHP Method

isNewObject() public method

Checks if the given object has ever been persisted.
public isNewObject ( object $object ) : boolean
$object object The object to check
return boolean TRUE if the object is new, FALSE if the object exists in the persistence session
    public function isNewObject($object)
    {
        return $this->persistenceSession->hasObject($object) === false;
    }