def check_nonce(self, nonce):
        lower, upper = self.nonce_length
        return (set(nonce) <= self.safe_characters and
                lower <= len(nonce) <= upper)
Iterative learning method for the agent.
dataset/ETHPy150Open idan/oauthlib/oauthlib/oauth1/rfc5849/request_validator.py/RequestValidator.check_nonce--crossover with--dataset/ETHPy150Open rlpy/rlpy/rlpy/Agents/LSPI_SARSA.py/LSPI_SARSA.learn