Checks if the instance of the specified Object type is registered in the DI container.
bool has<T extends Object>({String? name});