code: def file_starts_with(file_name, pattern):
      with open(file_name, "r") as fin:
          first_line = fin.readline()
          res = first_line.startswith(pattern)
          if not res:
              print("first_line: ", first_line)
          assert res
  
imports: import random
  import shutil
  from pathlib import Path
  from subprocess import run
label_desc: Use image node_id 2 for calling a global function with example usage: file_starts_with(file_name, pattern) without return types