def set_es_key(lookup_dict, term, value):
 (value_dict, value_key) = _find_es_dict_by_key(lookup_dict, term)
 if (value_dict is not None):
  value_dict[value_key] = value
  return True
 return False

def set_es_key ( lookup_dict , term , value ) : ( value_dict , value_key ) = _find_es_dict_by_key ( lookup_dict , term ) if ( value_dict is not None ) : value_dict [ value_key ] = value return True return False
looks up the location that the term maps to and sets it to the given value .