Added in 1.9.3

$switchbar

Returns $true if Switchbar is visible, otherwise $false.

See also Switchbar, /switchbar.