Yes - the validation above (line 102) guarantees that jobType is assigned and it has one of the two required values.