Check internet connection

Hi guys!

I was wondering, is there a way to check if the computer is connected to internet in TD?

Thanks in advance!

Ping a known server? This can be done in Python.