code: def _has_call(script, calls):
      return any(call.name in calls for call in script.calls)
  
imports: import os
  import re
  from guild import config
  from guild import op_util
  from guild import plugin
  from guild import python_util
  from guild import summary
  from .python_script import PythonScriptModelProxy
  from .python_script import PythonScriptOpdefSupport
label_desc: Use image node_id 2 for calling a global function with example usage: _has_call(script, calls) and returns: any