python dictionary if int:int code example Example: if dict.values <= int all(value == 0 for value in your_dict.values())