private void ensureSpecified() {
        if (isUnspecified())
            throw new IllegalStateException("Cannot perform this on unspecified resources");
    }
Returns true if all the resources of this are the same as or compatible with the given resources:
- Equal numbers.
- Compatible non-numbers.
config-provisioning/src/main/java/com/yahoo/config/provision/NodeResources.java