I need to check the internet connection of a user for one time.

I thought of something like `Device.isConnectedToTheInternet` but I didn't find something similar...
Every solution that if found was like an internet monitor over time, but that's not exactly what I need.

Someone ideas?
Thanks, Boothosh