Returns true if type S is registered in this specific scope.
true
S
bool isRegisteredLocally<S>({String? tag}) { return _registry.containsKey(_getKey<S>(tag)); }