validIf

fun validIf(predicate: () -> Boolean)