code: func (cs *clientStore) isValid(ID string, connID []byte) bool {
  	cs.RLock()
  	valid := cs.lookupByConnIDOrID(ID, connID) != nil
  	cs.RUnlock()
  	return valid
  }
docs: // IsValid returns true if the client is registered, false otherwise.