def _same_cluster(site_a, site_b, clusters):
    """
    Check if sites are in the same cluster
    """
    a_index = [site_a in cluster for cluster in clusters].index(True)
    b_index = [site_b in cluster for cluster in clusters].index(True)
    return a_index == b_index