code: def pytorch_backend():
      """Check if pytorch is set as backend."""
      return gs.__name__.endswith("pytorch")
  
file_path: geomstats/geomstats/test/test_case.py
imports: import inspect
  import numpy
  import pytest
  import geomstats.backend
label_desc: Use image node_id 3 for calling a global function with example usage: pytorch_backend() and returns: gs