has<T extends Object> method
Checks if the instance of the specified Object type is registered in the DI container.
Implementation
@override
bool has<T extends Object>({String? name}) {
return _instance.isRegistered<T>(instanceName: name);
}