code: def _cupy(strict=True):
      try:
          import cupy
      except ImportError:
          if strict:
              raise ImportError(
                  "Please install `cupy` to use `CupyBackendEntrypoint`"
              )
          return None
      return cupy
  
file_path: dask/dask/array/cupy_entry_point.py
imports: from __future__ import annotations
  import dask.array
  from dask import config
  from dask.array.backends import ArrayBackendEntrypoint, register_cupy
  from dask.array.core import Array
  from dask.array.dispatch import to_cupy_dispatch
label_desc: Use image node_id 1 for calling a global function with example usage: _cupy(strict) and returns: cupy, None