Well fun fact time I guess: in Taiwanese, bullets are sometimes refered as "peanuts." "Be my guest and have some peanuts" can actually mean "I will shoot you dead."
But seriously, they have some crazy allergies there. No idea why, probably because of all the artificial food and contamination in general. It's just not a very healthy place to live.
If you're in Europe, we'll I've got news for you, 2/3rds of European schools have at least one child with an anaphylactic peanut allergy. So peanut allergies are not just from excess freedom it would seem.
Other schools can have kids with such severe allergic reactions that it's the simplest option to ban them. This is mainly primary schools. I'm not saying if that's right or wrong, there's too many variables.
Kids can't be expected to perfectly manage their health problems, that's why at most schools yes the kids may have an EpiPen, but the school is also generally required to have one for each kid with a registered allergy.
Many theaters I've been to in the US stopped enforcing the "no outside food" thing. Last time I went to the movies there were dudes walking in with Chipotle or sub sandwiches and no one cared.
Because who the fuck is going to start a fight with someone that's already proven they're an asshole, for $7 an hour, to protect profits they'll never see any part of?
Meme: Use this gun to sneak a snickers into a movie theatre.
Title: (you could also say) You could also sneak peanuts into a school. (EDIT: Sorry I misunderstood the confusing part. In some schools in the US you cannot bring in peanuts due to some people having an anaphylactic shock when around peanuts.)