isRegistered<S> method
Checks whether an instance of type S (and optionally with tag) is registered in memory.
tagOptional tag to identify the instance.
Implementation
bool isRegistered<S>({String? tag}) => _singl.containsKey(_getKey(S, tag));