Programmer's Guide > Interfaces > CMSSession interface > connected attribute
  
connected attribute
Set to true if the session is still connected. Set to false if it is not.
connected
Access
read-only
Returns
boolean