Gets the current state of the application restart flag.
The application restart flag is used to track if the application should perform reset or a full reboot.