code: def test_benchmark_is_thenable_custom_type(benchmark):
      class MyType(object):
          pass
  
      my_type_instance = MyType()
  
      def create_promise():
          return is_thenable(my_type_instance)
  
      result = benchmark(create_promise)
      assert result == False
  
file_path: wandb/wandb/vendor/promise-2.3.0/tests/test_benchmark.py
imports: from pytest import raises
  import time
  from promise import Promise, promisify, is_thenable
label_desc: Use image node_id 4 for calling a global function with example usage: test_benchmark_is_thenable_custom_type(benchmark) and returns: is_thenable