In general, if you're also going to check for a specific value (you do in the next line), this check isn't necessary (i.e., if it equals some value, it exists).