code: def _is_debug_mode():
      debug_flag = os.environ.get("METAFLOW_DEBUG_CARD_SERVER")
      if debug_flag is None:
          return False
      return debug_flag.lower() in ["true", "1"]
  
imports: import os
  import json
  from http.server import BaseHTTPRequestHandler
  from threading import Thread
  from multiprocessing import Pipe
  from multiprocessing.connection import Connection
  from urllib.parse import urlparse
  import time
  from .card_client import CardContainer
  from .exception import CardNotPresentException
  from .card_resolver import resolve_paths_from_task
  from metaflow.metaflow_config import DATASTORE_LOCAL_DIR
  from metaflow import namespace
  from metaflow.exception import CommandException, MetaflowNotFound, MetaflowNamespaceMismatch
label_desc: Use image node_id 3 for calling a global function with example usage: _is_debug_mode() and returns: unknown, False