hasMethod

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