Mobile Network Detection

Is there any way to check if a device (iOS/Android) is connected to the network?

Right now I am using “Connect to Service” node to get the network status but I don’t think that node is meant for network checking.

Thanks!