My kid's school bans phones for that very reason. I find the age limit annoying and very easy to circumvent, which renders it pointless. This is a problem, because I agree with the benefits of kids attention not being eroded at scale.
edit: added age