isInstantiateSingleton<T> abstract method
checks if the instance registration is as singleton.
When key
is provided it will search the instance that have the same key
Implementation
bool isInstantiateSingleton<T>({String? key});