import socket


def ipv6(value):
    """Return true if IP address v6 is valid, otherwise - false."""

    try:
        socket.inet_pton(socket.AF_INET6, value)
        return True
    except socket.error:
        return False