Wifi and mobile data status

is there a way to check the status of the device wifi and mobile data, whether they are on or off?