How to handle Json value true in If condition

Correct.

the possible options for that statement are:
true=true → true
false=true → false

As you can see either way the result is the same as the left value.