code: func (b *BlockData) PendingRows(height uint64) bool {
  	hasRows := false
  	// TODO: understand why the guard on height is needed - what does it prevent?
  	if b.Data.BlockHeight == height && len(b.Data.Tables) > 0 {
  		hasRows = true
  	}
  	return hasRows
  }
docs: // PendingRows returns true if the given block has at least one pending row to upsert