Agree with brackets, but not with return_switch: it may be SWITCH_POS_NONE, that means unmapped, in this case we should not interrupt RTL, it was likely activated by command from GS.