stat_line_valid(): use the FOR_EACH_STAT_ITEM macro