}
private fun OwnIdentity.doesNotHaveCorrectContext() =
- context != null && !hasContext(context.context)
+ context?.let { it.context !in contexts } ?: false
private fun <R> time(logMessage: (Stopwatch, Collection<R>) -> String, loader: () -> Collection<R>): Collection<R> =
Stopwatch.createStarted().let { stopwatch ->