CAS Is Connected() determines whether the CAS server is connected. Returns 1 if there is an active CAS server connection. Otherwise, returns 0.
connected = CAS Is Connected();
Show( connected );
connected = 1;