def predicate(ctx): if check_inviteset(ctx): if check_citychannel(ctx): return True else: raise errors.CityChannelCheckFail() else: raise errors.InviteSetCheckFail()
def predicate(ctx): if check_citychannel(ctx): return True raise errors.CityChannelCheckFail()