mk_boolean in one place

Trivial, but defining the same function in two places is bad, mmmkay.