Profs can push back on this if they want. Not all of them want to (or want to justify pushback given their pay).
For me when I teach, no laptops or phones in class along with in-class handwritten paper quizzes on course readings and concepts has helped a lot.