code: func (cs *ClientServerImpl) IsReady() bool {
  	cs.writeLock.RLock()
  	defer cs.writeLock.RUnlock()
  
  	return cs.conn != nil
  }
docs: // IsReady gives a boolean response that informs the caller if the websocket
  // connection is fully established.