public boolean allNodesAssignedToDominantClusterInNeighbourhood(){
        boolean result = true;
        
        NodeIterator graphNodesIterator = this.LPAClusteringEngine.getGraph().getNodes().iterator();
        
        while (graphNodesIterator.hasNext() && result && !this.LPAClusteringEngine.getIsCancelled()){
            Node currentNode = graphNodesIterator.next();
            result = this.LPAClusteringEngine.getNodeClusterMapping().get(currentNode) == this.getDominantClusterInNeighbourhood(currentNode);
        }
        return result;
    }