key_in_dict#
- eoio.utils.dict_tools.key_in_dict(test_dict, other_dict) bool[source]#
Return whether a key is jointly present in two input dictionaries.
Note: does not search through nested dictionary keys
- Parameters:
test_dict – first dictionary
other_dict – second dictionary
- Returns:
Truewhen any key is shared, otherwiseFalse.