'Checks that the request token contains only safe characters
and is no shorter than lower and no longer than upper.'

def check_request_token(self, request_token):

    (lower, upper) = self.request_token_length
    return ((set(request_token) <= self.safe_characters) and (lower <= len(request_token) <= upper))
