@Override
    public boolean allNodesAssignedToDominantClusterInNeighbourhood(){
        boolean result = true;
        
        NodeIterator graphNodesIterator = this.LPAClusteringEngine.getGraph().getNodes().iterator();
        
        while (graphNodesIterator.hasNext() && result && !this.LPAClusteringEngine.getIsCancelled()) {
            Node currentNode = graphNodesIterator.next();
            List<Color> prevailingClusters = this.getDominantClustersInNeighbourhood(currentNode);
            result = prevailingClusters.contains(this.LPAClusteringEngine.getNodeClusterMapping().get(currentNode));
        }
        return result;
    }