def check_validation(self, validation, account_public_key):
        if not validation.verify(key=account_public_key):
            return False
        try:
            return self == self.json_loads(
                validation.payload.decode('utf-8'))
        except jose.DeserializationError as error:
            logger.debug("Checking validation for DNS failed: %s", error)
            return False
Check validation.
dataset/ETHPy150Open letsencrypt/letsencrypt/acme/acme/challenges.py/DNS.check_validation