ping is terminal or command line command.
It works in Windows, MacOS, and Linux.
Go open a terminal and type ping then a space, then the IP address of your Android device. If it connects it will give you a latency number. If it doesn't, it will tell you it is not reachable.
Windows stops the command at 4 I believe. In Linux and MacOS use CTRL + C to stop the command.
Google, Meta, Microsoft, or ByteDance don't have this?!