public boolean isValid() {
        return invalidExplanation == null;
    }
Returns whether this is a valid URI (after normalizing).
All non-hierarchical uri's containing a scheme is valid.
vespajlib/src/main/java/com/yahoo/net/URI.java