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])<EOL>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])<EOL>return all_true1 * all_true2<EOL>
Check if loci shared that match sequences with all
clusters seen until now.