code: def enable_interruptible_works() -> bool:
      return bool(int(os.getenv("LIGHTNING_INTERRUPTIBLE_WORKS", "0")))
  
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 4 for calling a global function with example usage: enable_interruptible_works() and returns: bool