Call `gateway.reboot()` in `pytradfri` to reboot the gateway

Is there any way to call additional commands from the pytradfri library, such as gateway.reboot() to reboot the gateway?