code: def get_global_bool(name: str) -> bool:
      val = get_global_val(name)
      if isinstance(val, bool):
          return val
  
      if isinstance(val, str):
          if val.lower() in ["true", "1", "t", "y", "yes"]:
              return True
          elif val.lower() in ["false", "0", "f", "n", "no"]:
              return False
          else:
              raise ValueError(
                  "Can't convert str to boolean : ['{}'] : {}".format(
                      _to_actual_name(name), val
                  )
              )
  
      raise ValueError(
          "Not boolean value: ['{}'] : {}".format(
              _to_actual_name(name), type(val)
          )
      )
  
file_path: lets-plot/python-package/lets_plot/_global_settings.py
imports: import os
  from typing import Any
  from ._version import __version__
label_desc: Use image node_id 10 for calling a global function with example usage: get_global_bool(name) and returns: val, True, False