protected function _authorizeRemoveAdmin(AnCommandContext $context)
    {
        if ($this->_entity->isAdministrable()) {
            return ($this->_entity->administratorIds->count() >= 2);
        }

        return false;
    }
protected function _authorizeRemoveAdmin(AnCommandContext $context)
    {
        if ($this->_entity->isAdministrable()) {
            return ($this->_entity->administratorIds->count() >= 2);
        }

        return false;
    }
protected function _authorizeRemoveAdmin ( AnCommandContext $ context ) { if ( $ this -> _entity -> isAdministrable ( ) ) { return ( $ this -> _entity -> administratorIds -> count ( ) >= 2 ) ; } return false ; }
Return if the viewer can remove an admin of an actor. It returns true
if an actor has at least two actors.

@param AnCommandContext $context Context parameter

@return bool
Return if the viewer can remove an admin of an actor . It returns true if an actor has at least two actors .