matches

fun <T> matches(condition: T.() -> Boolean)