If they don’t take it out and use it (or at least don’t get caught using it), what’s the problem? If they’re using a phone in class, take it like any other distraction.
I have four kids in school and while extreme incidents are rare, if I set my kid to school with a phone it would be to contact me in an emergency. I completely agree with no phones out, on silent, etc., but I’m unsure how I feel about schools taking away tools that could be used to get help.