disabledIf

inline fun <R> Commands.disabledIf(isDisabled: Boolean, block: () -> R): R