code: def is_torch_available():
      """Whether PyTorch is installed."""
      return _torch_available
  
imports: import importlib.util
  import logging
  import os
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: is_torch_available() and returns: _torch_available