code: def test_erase_meta():
      doc.set_metadata({})
      # Check PDF trailer and assert that there is no more /Info object
      # or is set to "null".
      statement1 = doc.xref_get_key(-1, "Info")[1] == "null"
      statement2 = "Info" not in doc.xref_get_keys(-1)
      assert statement2 or statement1
  
imports: import json
  import os
  import fitz
label_desc: Use image node_id 2 for calling a global function with example usage: test_erase_meta() without return types