isValid checks for submitted state
Forgot a @return annotation