code: def test_enable_extensions():
      try:
          import pyg_lib  # noqa
  
          assert torch_geometric.typing.WITH_PYG_LIB
      except (ImportError, OSError):
          assert not torch_geometric.typing.WITH_PYG_LIB
  
      try:
          import torch_scatter  # noqa
  
          assert torch_geometric.typing.WITH_TORCH_SCATTER
      except (ImportError, OSError):
          assert not torch_geometric.typing.WITH_TORCH_SCATTER
  
      try:
          import torch_sparse  # noqa
  
          assert torch_geometric.typing.WITH_TORCH_SPARSE
      except (ImportError, OSError):
          assert not torch_geometric.typing.WITH_TORCH_SPARSE
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_enable_extensions() without return types