code: def PyCapsule_IsValid(capsule, name):
      return (
          ctypes.pythonapi.PyCapsule_IsValid(
              ctypes.py_object(capsule), name
          )
          == 1
      )
  
file_path: arrow/python/pyarrow/tests/test_dlpack.py
imports: import ctypes
  from functools import wraps
  import pytest
  import numpy
  import pyarrow
  from pyarrow.vendored.version import Version
label_desc: Use image node_id 1 for calling a global function with example usage: PyCapsule_IsValid(capsule, name) and returns: unknown