isSubclassOf

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

Since Kotlin

1.1