I noticed there's a function to "doif", but is there a function to
"checkif"?
You mean have a check than would be performed on a condition? No, we don't
have such a thing.
There's actually a hook for building your own matcher ("matchWith" to be
used instead of "is", "not", etc), but you'd better be familiar with Scala.