def UsesIPv6Connection(host, port):
  return any(t[0] == socket.AF_INET6 for t in socket.getaddrinfo(host, port))
Check if a given atom is installed.
dataset/ETHPy150Open ganeti/ganeti/qa/qa_utils.py/UsesIPv6Connection--crossover with--dataset/ETHPy150Open ros-infrastructure/rosdep/src/rosdep2/platforms/gentoo.py/portage_detect_single