public boolean hasCapacity(Node host, NodeResources requestedCapacity) {
        return availableCapacityOf(host).satisfies(requestedCapacity);
    }
Returns whether host can allocate a node with requested capacity
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/HostCapacity.java