pub fn is_caught_up(&self) -> bool {
        let soft_pruned_l1_batch = self.last_soft_pruned.map(|info| info.l1_batch);
        let hard_pruned_l1_batch = self.last_hard_pruned.map(|info| info.l1_batch);
        soft_pruned_l1_batch == hard_pruned_l1_batch
    }
Returns `true` iff pruning is caught up, i.e., all soft-pruned data is hard-pruned.
core/lib/dal/src/pruning_dal/mod.rs