code: def check(self, request, consumer, token, signature):
          
          built = self.sign(request, consumer, token)
          if isinstance(signature, STRING_TYPES):
              signature = signature.encode("utf8")
          return built == signature
docs: Returns whether the given signature is the correct signature for
          the given consumer and token signing the given request.