final public function isOwner(CM_Model_User $user = null) {
        try {
            return $this->getUser()->equals($user);
        } catch (CM_Exception_Nonexistent $ex) {
            return false;
        }
    }
final public function isOwner(CM_Model_User $user = null) {
        try {
            return $this->getUser()->equals($user);
        } catch (CM_Exception_Nonexistent $ex) {
            return false;
        }
    }
final public function isOwner ( CM_Model_User $ user = null ) { try { return $ this -> getUser ( ) -> equals ( $ user ) ; } catch ( CM_Exception_Nonexistent $ ex ) { return false ; } }
Checks if a given user is the entity owner

@param CM_Model_User $user OPTIONAL
@return bool
Checks if a given user is the entity owner