They have for a while now in my experience. I'm not sure if it's still a thing, but there used to be these like sacks at the door with numbered pockets in which you'd put your phone until the end of that specific class.
Based on visiting a lot of Dutch schools this year, that's still very much happening. I tried to google a photo but couldn't figure out what the word for that thing is.