Maybe it's not worth it, but what do you think of reversing the variable, calling it 'can_be_paid' when you add it in the context ? This would make this particular `if` more readable (avoids the double negation).