code: func TableAnalyzed(tbl *statistics.Table) bool {
  	for _, col := range tbl.Columns {
  		if col.Count > 0 {
  			return true
  		}
  	}
  	for _, idx := range tbl.Indices {
  		if idx.Histogram.Len() > 0 {
  			return true
  		}
  	}
  	return false
  }
docs: // TableAnalyzed checks if the table is analyzed.