function isEditable() {
        if($this->managed) {
            return false;
        }
        
        $member = $this->guild->me;
        if(!$member->permissions->has(\CharlotteDunois\Yasmin\Models\Permissions::PERMISSIONS['MANAGE_ROLES'])) {
            return false;
        }
        
        return ($member->getHighestRole()->comparePositionTo($this) > 0);
    }
function isEditable() {
        if($this->managed) {
            return false;
        }
        
        $member = $this->guild->me;
        if(!$member->permissions->has(\CharlotteDunois\Yasmin\Models\Permissions::PERMISSIONS['MANAGE_ROLES'])) {
            return false;
        }
        
        return ($member->getHighestRole()->comparePositionTo($this) > 0);
    }
function isEditable ( ) { if ( $ this -> managed ) { return false ; } $ member = $ this -> guild -> me ; if ( ! $ member -> permissions -> has ( \ CharlotteDunois \ Yasmin \ Models \ Permissions :: PERMISSIONS [ 'MANAGE_ROLES' ] ) ) { return false ; } return ( $ member -> getHighestRole ( ) -> comparePositionTo ( $ this ) > 0 ) ; }
Whether the role can be edited by the client user.
@return bool
Whether the role can be edited by the client user .