I strongly disagree, this should be a decision for parents to make, no need to get the law involved. However, schools can and should have a policy that phones need to be off (or at least silenced, no vibrate) during class, and they can check it if excused to go to the restroom or something. But I would never agree to a law banning access to phones for minors, that’s a violation of parental discretion.