@Override
    public boolean canUpgradeFlavor(Node host, Node child, Predicate<NodeResources> realHostResourcesWithinLimits) {
        return upgradableFlavors.contains(host.flavor().name());
    }
Returns whether given behaviour is active for this invocation
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/testutils/MockHostProvisioner.java