pub fn can_restart() -> bool
Checks if is authorized to do a system restart.
#TRUE if can restart the system