In python especially you've got the ability to do especially fine grained remedial action within a ban/unban action so top level check really isn't needed here especially.