code: def is_expired(self):
          
          expiration_time = self.created_at + datetime.timedelta(days=1)
  
          return timezone.now() > expiration_time
docs: Determine if the confirmation has expired.
  
          Returns:
              bool:
                  ``True`` if the confirmation has expired and ``False``
                  otherwise.