Returns true if type S is registered in the current or any parent scope.
true
S
static bool isRegistered<S>({String? tag}) { return currentScope.isRegistered<S>(tag: tag); }