I have slight preference for `!( valid1 && valid2), rather than distributing the not.  Seems just a little clearer to me, but I'll leave that up to you.