code: def get_cloud_queue_type() -> Optional[str]:
      value = os.getenv("LIGHTNING_CLOUD_QUEUE_TYPE", None)
      if value is None and enable_interruptible_works():
          value = "http"
      return value
  
file_path: pytorch-lightning/src/lightning/app/core/constants.py
imports: import os
  from pathlib import Path
  from typing import Optional
  import lightning_cloud.env
label_desc: Use image node_id 3 for calling a global function with example usage: get_cloud_queue_type() and returns: value