code: def required_torch_version():
      TORCH_MAJOR = int(torch.__version__.split(".")[0])
      TORCH_MINOR = int(torch.__version__.split(".")[1])
  
      if TORCH_MAJOR >= 1 and TORCH_MINOR >= 8:
          return True
      else:
          return False
  
imports: import torch
  from deepspeed.git_version_info import torch_info
label_desc: Use image node_id 1 for calling a global function with example usage: required_torch_version() and returns: True, False