check if all values of a dictionary `your_dict` are zero `0`,all(value == 0 for value in list(your_dict.values()))