code: def eval_permissions(self, token, resource_scopes_tuples=None,
                           submit_request=False):
          
          permissions = self.get_permissions(
              token=token,
              resource_scopes_tuples=resource_scopes_tuples,
              submit_request=submit_request
          )
  
          res = []
          for permission in permissions.get('permissions', []):
              for scope in permission.get('scopes', []):
                  ptuple = (permission.get('rsname'), scope)
                  if ptuple in resource_scopes_tuples:
                      res.append(ptuple)
  
          return res == resource_scopes_tuples
docs: Evaluates if user has permission for all the resource scope
          combinations.
  
          :param str token: client access token
          :param Iterable[Tuple[str, str]] resource_scopes_tuples: resource to
          access
          :param boolean submit_request: submit request if not allowed to access?
          rtype: boolean