Conditional Branch: Script - $game_self_switches[map_id, event_id, self_switch_character]
So if I wanted to check if the self switch "A" of the event with the id of 6, on the map with the id of 1, I would put:
$game_self_switches[1, 6, "A"]
in my conditional branch.