code: def get_bool_env(name: str, preference: bool) -> bool:
      return os.environ.get(name, "1" if preference else "0") == "1"
  
imports: import os
  import sys
  import subprocess
  from setuptools import setup
  from pybind11.setup_helpers import Pybind11Extension
label_desc: Use image node_id 1 for calling a global function with example usage: get_bool_env(name, preference) and returns: unknown