breakIf

fun SingleInputChain.breakIf(condition: ActivityCtx<ProcessedUpdate>.() -> Boolean, repeat: Boolean = true, block: OnInputActivity? = null): SingleInputChain

Condition, which will cause the chain to be interrupted if it matches.