code: def _dict_subset(keys, master_dict):
      '''
      Return a dictionary of only the subset of keys/values specified in keys
      '''
      return dict([(k, v) for k, v in six.iteritems(master_dict) if k in keys]f _dict_subset(keys, master_dict):
      '''
      Return a dictionary of only the subset of keys/values specified in keys
      '''
      return dict([(k, v) for k, v in six.iteritems(master_dict) if k in keys])
docs: Return a dictionary of only the subset of keys/values specified in keys