code: def clusterEquals(self, x, y):
      if [] == x == y:
          return True
      if len(x) != len(y):
          return False
  
      for cluster_a, cluster_b in zip(x, y):
          if cluster_a[0] != cluster_b[0]:
              return False
          for score_a, score_b in zip(cluster_a[1], cluster_b[1]):
              if abs(score_a - score_b) > 0.001:
                  return False
          else:
              return True
  
file_path: dedupe/tests/test_dedupe.py
imports: import itertools
  import unittest
  import numpy
  import dedupe
label_desc: Use image node_id 2 for calling the ClusteringTest obj's underlying member method code with example usage: obj.clusterEquals(x, y) and returns: True, False, False, True, False