Added in validtor for real.

Useful for creating functions which conform to the validation
spec from boolean-returning functions which already exist.