has method
Whether key exists in scope (or any scope if scope is null).
Implementation
bool has(String key, {ConfigScope? scope}) {
if (scope != null) return _store[scope]!.containsKey(key);
return _store.values.any((m) => m.containsKey(key));
}