While we're cleaning this up, let's get rid of the Hungarian notation. Either use `valid` or `isValid`.