I don't know, but I would think it best to make sure.

Consider an IPv6 only host for example - it looks like that host would have $::ipaddress6 but not $::ipaddress.