def is_expired(self) -> bool:
    now = time.time()
    return (now > (self.get_expiry() + self.date))
def is_expired(self) -> bool:
    now = time.time()
    return (now > (self.get_expiry() + self.date))