Consider using intermediate variables to store the parts of the condition.