def METHOD_NAME(tethys_settings, key):
    result = _get_dict_key_handle(tethys_settings, key)
    if result is not None:
        d, k = result
        del d[k]
        write_settings(tethys_settings)