def predicate(ctx): if check_teamset(ctx): if not check_raidchannel(ctx): return True else: raise errors.NonRaidChannelCheckFail() else: raise errors.TeamSetCheckFail()
def predicate(ctx): if (not check_raidchannel(ctx)): return True raise errors.NonRaidChannelCheckFail()