code: def _write_file_prefix(f, interpreter):
      """Write a shebang line."""
      if interpreter:
          shebang = b"#!" + interpreter.encode(shebang_encoding) + b"\n"
          f.write(shebang)
  
file_path: catboost/contrib/tools/python3/src/Lib/zipapp.py
imports: import contextlib
  import os
  import pathlib
  import shutil
  import stat
  import sys
  import zipfile
label_desc: Use image node_id 2 for calling a global function with example usage: _write_file_prefix(f, interpreter) without return types