code: def in_allowlist(file_path, allowlist):
      for allowed_file in allowlist:
          if file_path.endswith(allowed_file):
              return True
      return False
  
file_path: addons/tools/testing/source_code_test.py
imports: import glob
  import os
  from typedapi import ensure_api_is_typed
  import importlib
  import tensorflow_addons
  import tensorflow
label_desc: Use image node_id 4 for calling a global function with example usage: in_allowlist(file_path, allowlist) and returns: False, True