Allow early return from validation function
Merge pull request #2 from jeremyworboys/patch-2

Allow early return from validation function