check_reboot is the function name