@property
def is_expired(self):
    e = self.expiry_date
    return ((e is not None) and (timezone.now() > e))
@property
def is_expired(self):
    e = self.expiry_date
    return ((e is not None) and (timezone.now() > e))