code: def write_jsonl(data, path):
      assert isinstance(data, list)
      lines = [to_jsonl(elem) for elem in data]
      write_file("\n".join(lines), path)
  
file_path: jiant/jiant/utils/python/io.py
imports: import os
  import glob
  import json
label_desc: Use image node_id 6 for calling a global function with example usage: write_jsonl(data, path) without return types