Allow early return from validation function