isConnectedToOther function
returns true if connected to other
Implementation
Future<bool> isConnectedToOther() async {
var connectivityResult = await Connectivity().checkConnectivity();
return connectivityResult.contains(ConnectivityResult.other);
}