scaleway/apis/api_account.py
def has_perm(self, service=None, name=None, resource=None,
                 include_locked=False):
        """ Checks if the token has a permission.
        """
        return bool(
            self.get_resources(service=service, name=name, resource=resource,
                               include_locked=include_locked)
        )
 Checks if the token has a permission.
        
Checks if the token has a permission.
Checks if the token has a permission .
def has_perm(self, service=None, name=None, resource=None,
                 include_locked=False):
        return bool(
            self.get_resources(service=service, name=name, resource=resource,
                               include_locked=include_locked)
        )
def has_perm ( self , service = None , name = None , resource = None , include_locked = False ) : return bool ( self . get_resources ( service = service , name = name , resource = resource , include_locked = include_locked ) )
Checks if the token has a permission.
Checks if the token has a permission .
""" Checks if the token has a permission.
        """
self
service
name
resource
include_locked