check_if_cluster_is_done