code: def is_script(source_file):
      filename = source_file.get_filename()
      return (
          filename.endswith("wrapper.py")
          or filename.endswith("wrapper.R")
          or filename.endswith("wrapper.jl")
      )
  
file_path: snakemake/snakemake/wrapper.py
imports: from snakemake.exceptions import WorkflowError
  from snakemake.script import script
  from snakemake.sourcecache import SourceCache, infer_source_file
label_desc: Use image node_id 1 for calling a global function with example usage: is_script(source_file) and returns: unknown