def _is_ipv6(self, ip):
        """ Return true if given arg is a valid IPv6 address
        """
        try:
            p = IPy.IP(ip)
        except __HOLE__:
            return False

        if p.version() == 6:
            return True
        return False
dataset/ETHPy150Open SpriteLink/NIPAP/nipap/nipap/backend.py/Nipap._is_ipv6