hasMethod

open override fun hasMethod(instance: Any, key: String): Boolean