has<T> method

bool has<T>()

Check if a service is registered

Implementation

bool has<T>() => _services.containsKey(T);