Conditions retrieve values, they don't set them. At least in Ace, whenever you set a switch, the value returned was ALWAYS true, because setting the switch succeeded.
Code:
Conditional Branch: Script: $gameSwitches.value($gameVariables.value(10))
would be true if the switch was true, and false if the switch was false. The switch number is taken from variable 10.