All I do is check for the citrix computer name.

if @WKSTA = "cellcomts1" or @WKSTA= "cellcomts2"
goto end
endif