def is_debit_permitted(self, amount):
        if self.amount_available is None:
            return True
        return amount <= self.amount_available
Test if the a debit for the passed amount is permitted
dataset/ETHPy150Open django-oscar/django-oscar-accounts/src/oscar_accounts/abstract_models.py/Account.is_debit_permitted