code: private boolean differentLocalAddressTypes(Inet6Address other) {
  
          if (isLinkLocalAddress() && !other.isLinkLocalAddress()) {
              return false;
          }
          if (isSiteLocalAddress() && !other.isSiteLocalAddress()) {
              return false;
          }
          return true;
      }
docs: /* check the two Ipv6 addresses and return false if they are both
  non global address types, but not the same.
  (ie. one is sitelocal and the other linklocal)
  return true otherwise.