code: func (n *networkNamespace) checkLoV6() {
  	var (
  		enable = false
  		action = "disable"
  	)
  
  	n.Lock()
  	for _, iface := range n.iFaces {
  		if iface.AddressIPv6() != nil {
  			enable = true
  			action = "enable"
  			break
  		}
  	}
  	n.Unlock()
  
  	if n.loV6Enabled == enable {
  		return
  	}
  
  	if err := setIPv6(n.path, "lo", enable); err != nil {
  		logrus.Warnf("Failed to %s IPv6 on loopback interface on network namespace %q: %v", action, n.path, err)
  	}
  
  	n.loV6Enabled = enable
  }
docs: // Checks whether IPv6 needs to be enabled/disabled on the loopback interface