src/Defender/Traits/HasDefender.php
public function canDo($permission, $force = false)
    {
        // If has superuser role
        if ($this->isSuperUser()) {
            return true;
        }

        return $this->hasPermission($permission, $force);
    }
public function canDo($permission, $force = false)
    {
        // If has superuser role
        if ($this->isSuperUser()) {
            return true;
        }

        return $this->hasPermission($permission, $force);
    }
public function canDo ( $ permission , $ force = false ) { // If has superuser role if ( $ this -> isSuperUser ( ) ) { return true ; } return $ this -> hasPermission ( $ permission , $ force ) ; }
Checks for permission
If has superuser group automatically passes.

@param string $permission
@param bool   $force

@return bool
Checks for permission If has superuser group automatically passes .