public boolean isAllocated() {
            return allocatedStates().contains(this);
        }
Returns whether this is a state where the node is assigned to an application
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/Node.java