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