>>> dict1 {'key2': 'value2', 'key1': 'value1'} >>> my_list = [dict1, dict2] >>> dict1 in my_list True >>> dict1 = { ... 'key1': 'something', ... 'key2': 'value2', ... } >>> dict1 in my_list False