Я нашел возможное решение и поделился им с другими:
conditions_dict = {"condition_name_1": [put your condition here, for example x < 5, the result should be True or False],
"condition_name_2": [put your condition here, for example x < 5, the result should be True or False], ...
}
list_of_failed_conditions = [i for i in conditions_dict if not conditions_dict[i]]
if len(list_of_failed_conditions) == 0:
return True
else:
[log_function(err_msg) for err_msg in ["Condition failed: " + i for i in list_of_failed_conditions]]
return False