getOrNull

fun <T : Any> getOrNull(cls: KClass<T>): T?

Get a service for the given cls or null if no service can be provided