Determines whatever declaration has a type of the specified Kotlin class.
true if the declaration has a type matching the specified KClass, false otherwise.
true
false
The Kotlin class representing the type to check for.