has<T extends Object> abstract method
Checks if an instance of the specified type is registered in the DI container.
If a name is provided, it checks the named instance of the type T.
Implementation
bool has<T extends Object>({String? name});