valid

fun valid(predicate: () -> Boolean, otherwise: () -> String)