fn parse_bool_or_name( settings: &BTreeMap<String, Value>, key: &str, default_on: bool, ) -> Result<ConsumableSetting, EngineError>