isTarget

abstract fun isTarget(eventType: Event.Key<*>): Boolean

判断当前监听函数是否可以对指定的事件进行监听。