docs: private boolean isLatticeBrokenAfter(int endIndex, ViterbiLattice lattice) {
          ViterbiNode[][] nodeStartIndices = lattice.getStartIndexArr();
  
          return nodeStartIndices[endIndex] == null;
      }