Should we also check the reboot flag in addition to `AMCommand.AM_SHUTDOWN`?