go-libp2p, is it possible to get a boolean value indicating whether my host is behind a NAT? This would allow applications using libp2p to have different behavior when they are behind NAT – for example, not joining the DHT. I know IPFS is interested in this.
It looks to me like my code could call
a := autonat.NewAutoNAT()
and then test this condition
a.Status() == autonat.NATStatusPublic
Am I on the right track?