enabledIf

inline fun <R> Commands.enabledIf(isEnabled: Boolean, block: () -> R): R