has Class Or Interface Or Object Declaration Of
Whether declaration has a class, an interface or an object declaration of the specified Kotlin class.
Return
true
if the declaration has a class, an interface or an object declaration matching the specified KClass, false
otherwise.
Parameters
k Class
The Kotlin class representing the class, interface or object declaration to check for.