code: public boolean isIPAddressInRange(IPAddress address) {
  		if (ipSubnetMask == null) {
  			return this.ipAddress.equals(address);
  		}
  		
  		int result1 = address.getIPAddress() & ipSubnetMask.getIPAddress();
  		int result2 = ipAddress.getIPAddress() & ipSubnetMask.getIPAddress();
  		
  		return result1 == result2;
  	}
docs: Check if the specified IP address is in the encapsulated range.
  
  @param address The IP address to be tested.
  @return Return <code>true</code> if the specified IP address is in the
  encapsulated IP range, otherwise return <code>false</code>.