code: def _is_consistent(pairs, common, clus_seen, loci_similarity):
      
      all_true1 = all([all([common and loci_similarity[(p, c)] > parameters.similar  for p in pairs if (p, c) in loci_similarity]) for c in clus_seen])
      all_true2 = all([all([common and loci_similarity[(c, p)] > parameters.similar  for p in pairs if (c, p) in loci_similarity]) for c in clus_seen])
      return all_true1 * all_true2
docs: Check if loci shared that match sequences with all
      clusters seen until now.