call_map = {(True, True, True): func1, (True, False, True): func2, (True,
    False, False): func3}
try:
    func = call_map[cond_1, cond_2, cond_3]
except KeyError:
    pass
else:
    func()
How to write If statements for all 2^N boolean conditions (python)