public function isLocked() { if ($this->getLocked()) { return true; } // check for inherited return $this->getDao()->isLocked(); }