code: def is_deepspeed_mode():
      return (
          os.getenv("FATE_TASK_TYPE", "").upper()
          == TaskMode.DEEPSPEED.value
      )
  
imports: import enum
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: is_deepspeed_mode() and returns: unknown