There are two if statements below that have multiple conditions using logical operators. Logically both are same but the order of check differs. The first one works and the
left to right while expression is still questionable.