import ipaddress


def is_valid_ipv6_addr(ip):
    """ A custom Jinja filter function which determines if input is an IPV6 Address"""
    try:
        return isinstance(ipaddress.ip_address(ip), ipaddress.IPv6Address)
    except Exception as e:
        return False