code: func IsListening(u *url.URL) bool {
  	conn, err := net.Dial("tcp", u.Host)
  	if err != nil {
  		return false
  	}
  
  	conn.Close()
  	return true
  }
docs: // IsListening returns true if there's a server listening on `u`.