checkNotNull

inline fun <T : Any> checkNotNull(value: T?, message: Any, lazyContext: () -> Map<String?, Any?>): T

Version of check which throws a ContextedIllegalArgumentException.