code: def cupy_available():
      return _CUPY_AVAILABLE
  
file_path: ray/python/ray/util/collective/types.py
imports: from enum import Enum
  from dataclasses import dataclass
  from datetime import timedelta
label_desc: Use image node_id 1 for calling a global function with example usage: cupy_available() and returns: _CUPY_AVAILABLE