Is it possible to do Automate Android Network Switching using Appium?

Is it possible to do Automate Android Network Switching using Appium?