enableIf

fun View.enableIf(boolean: Boolean): () -> Unit

will enable the view If Condition is true else enables It