code: def generating_command_images() -> bool:
      return (
          "RECORD_BREEZE_TITLE" in os.environ
          or "regenerate-command-images" in sys.argv
      )
  
file_path: airflow/dev/breeze/src/airflow_breeze/utils/recording.py
imports: from __future__ import annotations
  import atexit
  import os
  import sys
  from copy import deepcopy
  from typing import IO, TYPE_CHECKING
  from airflow_breeze.utils.path_utils import in_autocomplete
label_desc: Use image node_id 1 for calling a global function with example usage: generating_command_images() and returns: unknown