Yet another value type validator.