code: func (pn *peernet) Connectedness(p peer.ID) inet.Connectedness {
  	pn.Lock()
  	defer pn.Unlock()
  
  	cs, found := pn.connsByPeer[p]
  	if found && len(cs) > 0 {
  		return inet.Connected
  	}
  	return inet.NotConnected
  }
docs: // Connectedness returns a state signaling connection capabilities
  // For now only returns Connecter || NotConnected. Expand into more later.