Returns 1 if the device is connected to the internet, 0 if not.
integer GetInternetState()
int agk::GetInternetState()