Standard libraries should include everything needed to interact with modern systems. This means HTTP parsing, HTTP requests, and JSON parsing. Some laguages are excellent (like python), while some are half way there (like go), and some are just broken (Rust).
External libraries are for niche or specialized functionality. External libraries are not for functionality that is used by most modern software. To put your head in the ground and insist otherwise is madness and will lead to ridiculous outcomes like this.
If you want an actual solution, look for differences. If you somehow end up figuring out its about type of people using those, then there is no easy technical solution.
They wouldn't do this if the conversation is important to them. Not as much as one would glance on a smartwatch when they get a chirp, which, I believe is perfectly socially acceptable in most business/casual situations.
And if they do it's nothing new - it's a literal equivalent of talking to a person deep into their phone. Exact same audiovisual media consumption - just a different form factor and display technology. Or, in a pre-phone era, a newspaper.
I don't think this technology introduces anything new to this issue.
When I see such person who simply can't resist looking at their displays during conversations, I know I am seeing a hard addict with host of other attention disorders. And the fool is feeding those, actively making them worse for some ultra short dopamine kicks that keep getting shorter till they make new baseline.
Not a stellar person in any meaningful way, rather an addict or an asshole. So much for perfectly acceptable.