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