"in python, how do I check to see if keys in a dictionary all have the same value x?",len(set(d.values())) == 1