I think the callback should be more like this: `if validator.if and !validator.if.apply(this, key, errors)`