isReachable
Checks if the platform is reachable (i.e., if it is connected to a network).
This method checks whether the device is currently connected to the internet or network.
Return
true
if the platform is reachable, otherwise false
.