code: public DDPSTATE getState() {
          // used by the UI to figure out what the current DDP connection state is
          if (getDDP().getState() == CONNSTATE.Closed) {
              mDDPState = DDPSTATE.Closed;
          }
          return mDDPState;
      }
docs: Gets state of DDP connection (including login info which isn't part of DDPClient state)
  @return DDP connection state