isSubclassOf

fun KClass<*>.isSubclassOf(base: KClass<*>): Boolean(source)

Returns true if this class is the same or is a (possibly indirect) subclass of base, false otherwise.

Since Kotlin

1.1