docs: private boolean isLatticeBrokenBefore(int nodeIndex, ViterbiLattice lattice) {
          ViterbiNode[][] nodeEndIndices = lattice.getEndIndexArr();
  
          return nodeEndIndices[nodeIndex] == null;
      }