@property
    def expired(self):
        """
        The invitation is valid until 11:59pm UTC on the expiration date.
        """
        return datetime.utcnow().date() > self.expiration_date
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/sms/models.py/SelfRegistrationInvitation.expired/original