It is a little more comprehensive than I thought. California has this in the CA Health and Safety Code, section 114094 Here is what is in the bill:
114094. (a) For purposes of this section, the following definitions
(1) "Food facility" means a food facility in the state that
operates under common ownership or control with at least 19 other
food facilities with the same name in the state that offer for sale
substantially the same menu items, or operates as a franchised outlet
of a parent company with at least 19 other franchised outlets with
the same name in the state that offer for sale substantially the same
menu items, except that a "food facility" does not include the
(A) Certified farmer's markets.
(C) Grocery stores, except for separately owned food facilities to
which this section otherwise applies that are located in the grocery
store. For purposes of this paragraph, "grocery store" means a store
primarily engaged in the retail sale of canned food, dry goods,
fresh fruits and vegetables, and fresh meats, fish, and poultry.
"Grocery store" includes convenience stores.
(D) Licensed health care facilities.
(E) Mobile support units.
(F) Public and private school cafeterias.
(G) Restricted food service facilities.
(H) Retail stores in which a majority of sales are from a
pharmacy, as defined in Section 4037 of the Business and Professions
(I) Vending machines.