dict1 = {'name': 'earth', 'port': 80}print 'server' in dict1print 'name' in dict1 print dict1['name']