code: def is_in_allowlist_cache(entity, options):
      try:
          return _ALLOWLIST_CACHE.has(entity, options)
      except TypeError:
          # Catch-all for entities that are unhashable or don't allow weakrefs.
          return False
  
file_path: tensorflow-upstream/tensorflow/python/autograph/impl/conversion.py
imports: import functools
  import inspect
  import sys
  import unittest
  from tensorflow.python.autograph.core import config
  from tensorflow.python.autograph.pyct import cache
  from tensorflow.python.autograph.pyct import inspect_utils
  from tensorflow.python.autograph.utils import ag_logging
  from tensorflow.python.eager.polymorphic_function import tf_method_target
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 5 for calling a global function with example usage: is_in_allowlist_cache(entity, options) and returns: _ALLOWLIST_CACHE, False