code: def is_valid(self):
          
  
          try:
              request = self.get_oauth_request()
              client = self.get_client(request)
              params = self._server.verify_request(request, client, None)
          except Exception as e:
              raise e
  
          return client
docs: Returns a Client object if this is a valid OAuth request.