matches

abstract fun matches(context: EventContext): Boolean

Returns true if the trigger matches the given EventContext.