pub fn headless_mode_requested() -> bool
Returns whether the current process should run in headless mode.