Nothing here yet.
Yes, I think that check belongs in the pipeline. A left join from pg_statistic_ext to pg_statistic_ext_data where the data row is null lists every object with no data. I tried it on PG 17: it returned my object before ANALYZE and nothing after, so failing on a non-empty result works. On plans, honestly no. I only compared estimates for that one query, so a few EXPLAINs before and after would be the better test.