def i_am_a_name(string):
    for addr_type in (socket.AF_INET, socket.AF_INET6):
        try:
            socket.inet_ntop(addr_type, socket.inet_pton(addr_type, string))
        except (__HOLE__, socket.error):
            pass
        else:
            return False
    return True
dataset/ETHPy150Open abusesa/abusehelper/abusehelper/bots/vxvault/vxvaultbot.py/i_am_a_name