def lookup_es_key(lookup_dict, term):
 (value_dict, value_key) = _find_es_dict_by_key(lookup_dict, term)
 return (None if (value_key is None) else value_dict[value_key])

def lookup_es_key ( lookup_dict , term ) : ( value_dict , value_key ) = _find_es_dict_by_key ( lookup_dict , term ) return ( None if ( value_key is None ) else value_dict [ value_key ] )
performs iterative dictionary search for the given term .