code: def silence_nonrewritten_import_errors():
      """Context manager to silence import errors if `BACKEND is None`.
  
      Sometimes un-rewritten (i.e. `BACKEND is None`) modules must be executed.
      Doing so can cause unintended external imports to be triggered. This context
      manager bluntly silences such errors, leaving a partially broken module in its
      wake. This is usually fine, since in such cases we won't actually surface the
      broken module to the user (and if an advanced user does actually need those
      modules to function, they can resolve the import errors to unbreak the
      module).
  
      The primary use case for this module is in `__init__.py` files which re-export
      API.
  
      Yields:
        Nothing.
      """
      if BACKEND is None:
          try:
              yield
          except ImportError:
              pass
      else:
          yield
  
label_desc: Use image node_id 1 for calling a global function with example usage: silence_nonrewritten_import_errors() without return types