code: def _server_headless() -> bool:
      """If false, will attempt to open a browser window on start.
  
      Default: false unless (1) we are on a Linux box where DISPLAY is unset, or
      (2) we are running in the Streamlit Atom plugin.
      """
      if env_util.IS_LINUX_OR_BSD and not os.getenv("DISPLAY"):
          # We're running in Linux and DISPLAY is unset
          return True
  
      if os.getenv("IS_RUNNING_IN_STREAMLIT_EDITOR_PLUGIN") is not None:
          # We're running within the Streamlit Atom plugin
          return True
  
      return False
  
imports: import copy
  import os
  import secrets
  import threading
  from collections import OrderedDict
  from typing import Any, Callable, Dict, Optional, cast
  import toml
  from blinker import Signal
  from streamlit import config_util, development, env_util, file_util, util
  from streamlit.config_option import ConfigOption
  from streamlit.errors import StreamlitAPIException
label_desc: Use image node_id 12 for calling a global function with example usage: _server_headless() and returns: False, True, True