public double get(Dimension dimension) {
        return switch (dimension) {
            case cpu -> cpu();
            case memory -> memory();
            case disk -> disk();
            case gpu -> gpu();
            case gpuMemory -> gpuMemory();
        };
    }
Returns true if any dimension matches the predicate.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/autoscale/Load.java