You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: ipv6.go
    path of file: ./repos/gluetun/internal/netlink
    
    the code of the file until where you have to start completion: package netlink

import (
	"fmt"
)

func (n *NetLink) IsIPv6Supported() (supported bool, err error) {
	routes, err := n.RouteList(FamilyV6)
	if err != nil {
		return false, fmt.Errorf("listing IPv6 routes: %w", err)
	}

	// Check each route for IPv6 due to Podman bug listing IPv4 routes
	// as IPv6 routes at container start, see:
	// https://github.com/qdm12/gluetun/issues/1241#issuecomment-1333405949
	for _, route := range routes {
		sourceIsIPv6 := route.Src.IsValid() && route.Src.Is6()
		destinationIsIPv6 := route.Dst.IsValid() && route.Dst.Addr().Is6()
		if 
    
func (n *NetLink) IsIPv6Supported() (supported bool, err error) {
	routes, err := n.RouteList(FamilyV6)
	if err != nil {
		return false, fmt.Errorf("listing IPv6 routes: %w", err)
	}

	// Check each route for IPv6 due to Podman bug listing IPv4 routes
	// as IPv6 routes at container start, see:
	// https://github.com/qdm12/gluetun/issues/1241#issuecomment-1333405949
	for _, route := range routes {
		sourceIsIPv6 := route.Src.IsValid() && route.Src.Is6()
		destinationIsIPv6 := route.Dst.IsValid() && route.Dst.Addr().Is6()
		if sourceIsIPv6 || destinationIsIPv6 {
			link, err := n.LinkByIndex(route.LinkIndex)
			if err != nil {
				return false, fmt.Errorf("finding IPv6 supported link: %w", err)
			}
			n.debugLogger.Debugf("IPv6 is supported by link %s", link.Name)
			return true, nil
		}
	}

	n.debugLogger.Debugf("IPv6 is not supported after searching %d routes",
		len(routes))
	return false, nil
}