@property
    def is_expired(self):
        if self.has_no_conversion: return False
        return (NOW() - self.created_at).total_seconds() > MAX_PAY_TIME
dataset/ETHPy150Open coinkite/coinkite-real-time-invoice/models.py/MyInvoice.is_expired/original