fn should_be_persisted(&self, cert: &BlockCertificate) -> bool {
        self.0.borrow().next() <= cert.number()
    }
Checks if the given certificate should be eventually persisted.
Only certificates block store state is a range of blocks for which we already have
certificates and we need certs only for the later ones.
core/node/consensus/src/storage/store.rs