code: def get_all_adv_settings() -> Dict[str, Dict[str, Union[str, bool, None]]]:
      
      settings_file = CONFIG['feature_flags_file']
  
      values, _ = _read_settings_file(settings_file)
  
      return {
          key: {**settings_by_id[key].__dict__,
                'value': value}
          for key, value in values.items()
      }
docs: :return: a dict of settings keyed by setting ID, where each value is a
          dict with keys "id", "title", "description", and "value"