code: def has_function(fns, ext_file, fn_name):
      suffix = f"{ext_file}#{fn_name}"
      for fn in fns:
          if fn.endswith(suffix):
              return True
      return False
  
imports: import os
  import pathlib
  import pytest
  import pyarrow
  import pyarrow.compute
  from pyarrow.lib import tobytes
  from pyarrow.lib import ArrowInvalid, ArrowNotImplementedError
label_desc: Use image node_id 7 for calling a global function with example usage: has_function(fns, ext_file, fn_name) and returns: False, True