code: def check_empty_test(input_text, expected=None, echo=False):
      if expected is None:
          expected = input_text
  
      doc = CoNLL.conll2doc(input_str=input_text)
  
      # we don't want to edit this, just test the to/from conversion
      ssurgeon_response = ssurgeon.process_doc(doc, [])
      updated_doc = ssurgeon.convert_response_to_doc(
          doc, ssurgeon_response
      )
  
      result = "{:C}".format(updated_doc)
      if echo:
          print("INPUT")
          print(input_text)
          print("EXPECTED")
          print(expected)
          print("RESULT")
          print(result)
      compare_ignoring_whitespace(result, expected)
  
file_path: stanza/stanza/tests/server/test_ssurgeon.py
imports: import pytest
  from stanza.tests import compare_ignoring_whitespace
  from stanza.utils.conll import CoNLL
  import stanza.server.ssurgeon
label_desc: Use image node_id 5 for calling a global function with example usage: check_empty_test(input_text, expected, echo) without return types