code: def test_bound_method_callback():
      # Bound Python method:
      class MyClass:
          def double(self, val):
              return 2 * val
  
      z = MyClass()
      assert m.test_callback3(z.double) == "func(43) = 86"
  
      z = m.CppBoundMethodTest()
      assert m.test_callback3(z.triple) == "func(43) = 129"
  
file_path: coremltools/deps/pybind11/tests/test_callbacks.py
imports: import time
  from threading import Thread
  import pytest
  import env
  from pybind11_tests import callbacks
label_desc: Use image node_id 2 for calling a global function with example usage: test_bound_method_callback() and returns: unknown