public function handle($role)
    {
        if ($this->auth->check()) {
            return $this->auth->user()->isRole($role);
        } else {
            if ($role === 'guest') {
                return true;
            }
        }

        return false;
    }
public function handle($role)
    {
        if ($this->auth->check()) {
            return $this->auth->user()->isRole($role);
        } else {
            if ($role === 'guest') {
                return true;
            }
        }

        return false;
    }
public function handle ( $ role ) { if ( $ this -> auth -> check ( ) ) { return $ this -> auth -> user ( ) -> isRole ( $ role ) ; } else { if ( $ role === 'guest' ) { return true ; } } return false ; }
Is Role blade directive compiler.

@param string $role
@return bool
Is Role blade directive compiler .