The correct method is InetAddress.isSiteLocalAddress().
Utility routine to check if the InetAddress is a site local address.
Returns: a boolean indicating if the InetAddress is a site local
address; or false if address is not a site local unicast address.