def validate_timestamp_and_nonce(self, client_key, timestamp, nonce,<EOL>request, request_token=None,<EOL>access_token=None):
log.debug('<STR_LIT>', client_key)<EOL>nonce_exists = self._noncegetter(<EOL>client_key=client_key, timestamp=timestamp,<EOL>nonce=nonce, request_token=request_token,<EOL>access_token=access_token<EOL>)<EOL>if nonce_exists:<EOL><INDENT>return False<EOL><DEDENT>self._noncesetter(<EOL>client_key=client_key, timestamp=timestamp,<EOL>nonce=nonce, request_token=request_token,<EOL>access_token=access_token<EOL>)<EOL>return True<EOL>
Validate the timestamp and nonce is used or not.