Adds a simple `checkProp` factory function for re-usable utility predicates.
The reason the predicate comes before the prop is to signify the predicate will be called with the prop, however I have no desire to make that a hard requirement. Order can easily be changed.