public function getIsNewRecord() { return $this->getOwner()->getDirtyState() == Model::DIRTY_STATE_TRANSIENT; }