check_key_exists#
- skysim.settings.check_key_exists(dictionary, full_key)[source]#
Check if a key exists within a nested dictionary.
- Parameters:
- dictionary
TOMLConfig The top-level dictionary to check.
- full_key
str Potentially nested key.
- dictionary
- Returns:
- bool
Whether or not the key exists.