Reverse the order. If `process_type` is not a string (something falsy) it shouldn't be compared to a string. 

It works now in Python but it's generally bad practice.