def is_ipv6(addr):
    sockaddrs = socket.getaddrinfo(addr, None)
    if any([addr_tuple[0] == socket.AF_INET for addr_tuple in sockaddrs]):
        return False
    return True
L{OpenSSHFactory.getPublicKeys} should return the available public keys
dataset/ETHPy150Open swiftstack/ssbench/ssbench/util.py/is_ipv6--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/test/test_openssh_compat.py/OpenSSHFactoryTests.test_getPublicKeys