code: def mute_stdout():
      stdout = sys.stdout
      sys.stdout = open(os.devnull, "w")
      try:
          yield
      finally:
          sys.stdout = stdout
  
imports: import contextlib
  import os
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: mute_stdout() without return types