def key_expired(self):
        expiration_date = self.sent + timedelta(days=settings.EMAIL_CONFIRMATION_DAYS)
        return expiration_date <= datetime.now()
dataset/ETHPy150Open davemerwin/blue-channel/external_apps/emailconfirmation/models.py/EmailConfirmation.key_expired/original