Is it possible to have my Turris Omnia reboot / install / do maintenance only if certain devices are not connected?

I was wondering if it is possible to tell Turris only to reboot if certain devices, which I can identify by MAC address, are not attached to the device. Thanks