dict = { 'name': 'dzm', 'age': '20' }
print(dict.has_key('name')) # True
print(dict.has_key('id')) # False
dict = { 'name': 'dzm', 'age': '20' }
print('name' in dict.keys()) # True
print('id' in dict.keys()) # False
print('id' not in dict.keys()) # True
dict = { 'name': 'dzm', 'age': '20' }
print('name' in dict) # True
print('id' in dict) # False
print('id' not in dict) # True