code: def test_is_allowlisted(self):
      def test_fn():
          return constant_op.constant(1)
  
      self.assertFalse(conversion.is_allowlisted(test_fn))
      self.assertTrue(conversion.is_allowlisted(utils))
      self.assertTrue(conversion.is_allowlisted(constant_op.constant))
  
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 2 for calling the ConversionTest obj's underlying member method code with example usage: obj.test_is_allowlisted() and returns: constant_op