Consider adding parenthesis here to make this if statement more readable. Without parenthesis it is hard to tell the goal/meaning of this if statement without looking up operator precedence order.