code: def has_api_scopes(self, *api_scopes):
          
          if self._authorized_api_scopes is None:
              return None
          return all((x in self._authorized_api_scopes) for x in api_scopes)
docs: Test if all given API scopes are authorized.
  
          :type api_scopes: list[str]
          :param api_scopes: The API scopes to test
  
          :rtype: bool|None
          :return:
            True or False, if the API Token has the API scopes field set,
            otherwise None