src/Defender/Traits/Users/HasRoles.php
public function hasRoles($roles)
    {
        $roles = is_array($roles) ? $roles : func_get_args();

        foreach ($roles as $role) {
            if ($this->hasRole($role)) {
                return true;
            }
        }

        return false;
    }
public function hasRoles($roles)
    {
        $roles = is_array($roles) ? $roles : func_get_args();

        foreach ($roles as $role) {
            if ($this->hasRole($role)) {
                return true;
            }
        }

        return false;
    }
public function hasRoles ( $ roles ) { $ roles = is_array ( $ roles ) ? $ roles : func_get_args ( ) ; foreach ( $ roles as $ role ) { if ( $ this -> hasRole ( $ role ) ) { return true ; } } return false ; }
Returns true if the given user has any of the given roles.

@param string|array $roles array or many strings of role name

@return bool
Returns true if the given user has any of the given roles .