Determines if the provided pair of assets forms a bad debt.
total supply worth amount
total borrow worth amount
collateral liquidation bonus value
pool constants
Determines if the provided pair of assets forms a bad debt.