private boolean equal(double a, double b) {
        return Math.abs(a - b) < 0.00000001;
    }
Returns whether nodeResources saturates at least one resource dimension of hostFlavor
node-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/awsnodes/AwsResourcesCalculator.java