package node import "net/netip" func addrIsValid(in []byte) bool { _, ok := netip.AddrFromSlice(in) return ok }