def is_paid(self):
        import warnings
        warnings.warn(
            'Order.is_paid() has been deprecated because its name is'
            ' misleading. Test for `order.status >= order.PAID` or'
            ' `not order.balance_remaining yourself.',
            DeprecationWarning, stacklevel=2)
        return self.balance_remaining <= 0

    #: This validator is always called; basic consistency checks such as
    #: whether the currencies in the order match should be added here.
dataset/ETHPy150Open matthiask/plata/plata/shop/models.py/Order.is_paid/original