public function isNewObject($object) { return $this->persistenceSession->hasObject($object) === false; }