This tool performs an ICMP (layer 3) ping to check if a machine is up and connected to the network. It obviously only pings devices that are reachable from the internet.
On unix systems, opening a raw ICMP socket requires root privileges, which isn't allowed on Heroku and AWS Lambda.