code: def test_is_allowlisted_pybind(self):
      test_object = pybind_for_testing.TestClassDef()
      with test.mock.patch.object(config, "CONVERSION_RULES", ()):
          # TODO(mdan): This should return True for functions and methods.
          # Note: currently, native bindings are allowlisted by a separate check.
          self.assertFalse(
              conversion.is_allowlisted(test_object.method)
          )
  
imports: import sys
  import types
  import weakref
  from tensorflow.python.autograph import utils
  from tensorflow.python.autograph.core import config
  from tensorflow.python.autograph.core import converter
  from tensorflow.python.autograph.impl import api
  from tensorflow.python.autograph.impl import conversion
  from tensorflow.python.autograph.impl.testing import pybind_for_testing
  from tensorflow.python.eager import function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.platform import test
label_desc: Use image node_id 6 for calling the ConversionTest obj's underlying member method code with example usage: obj.test_is_allowlisted_pybind() without return types