open fun <T : Any> isNotNullBut(plant: <ERROR CLASS><T?>, type: KClass<T>, expected: T): <ERROR CLASS>