I would collapse this into one check with `"q0, q1, and q2 are required."`.  Less is more.