CAS Is Connected() determines whether the CAS server is connected.
connected = CAS Is Connected();
Show( connected );
connected = 1;