Here is my example code, where both the if condition were executed. The first if condition is false, the second one is true in my example