def verify_attesting_entity(self, address):

        correct = 0
        for subject_conf in self.assertion.subject.subject_confirmation:
            if subject_conf.subject_confirmation_data is None:
                correct += 1  # In reality undefined
            elif subject_conf.subject_confirmation_data.address:
                if subject_conf.subject_confirmation_data.address == address:
                    correct += 1
            else:
                correct += 1

        if correct:
            return True
        else:
            return False
Return whether any operations were marked in the context.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pysaml2-2.4.0/src/saml2/response.py/AuthnResponse.verify_attesting_entity--crossover with--dataset/ETHPy150Open dpkp/kafka-python/kafka/context.py/OffsetCommitContext.__nonzero__