isRegistered<S> method
Check if a Class Instance<S> (or tag) is registered in memory.
tagis optional, if you used atagto register the Instance.
Implementation
bool isRegistered<S>({String? tag}) => _singl.containsKey(_getKey(S, tag));