def check_expired(self, cert_item):
        expiration = cert_item.config.get('expiration', None)
        if expiration:
            expiration = parser.parse(expiration)
            now = expiration.now(tzutc())
            time_to_expiration = (expiration - now).days
            if time_to_expiration < 0:
                notes = 'Expired on {0}.'.format(str(expiration))
                self.add_issue(10, 'Cert has expired.', cert_item, notes=notes)
Return an iterator of all included and extended interfaces
dataset/ETHPy150Open Netflix/security_monkey/security_monkey/auditors/iam/iam_ssl.py/IAMSSLAuditor.check_expired--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/zope/zope/interface/declarations.py/Declaration.flattened