code: public boolean isValid() {
  		if(addressProvider.isUninitialized()) {
  			try {
  				validate();
  				return true;
  			} catch(AddressStringException e) {
  				return false;
  			}
  		}
  		return !addressProvider.isInvalid();
  	}
docs: Returns whether this is a valid address string format.
  
  The accepted IP address formats are:
  an IPv4 address, an IPv6 address, a network prefix alone, the address representing all addresses of all types, or an empty string.
  If this method returns false, and you want more details, call validate() and examine the thrown exception.
  
  @return whether this is a valid address string format