code: def _postprocess_SymbolRemovesOtherSymbols(expr):
      args = tuple(
          i
          for i in expr.args
          if not isinstance(i, Symbol)
          or isinstance(i, SymbolRemovesOtherSymbols)
      )
      if args == expr.args:
          return expr
      return Mul.fromiter(args)
  
file_path: sympy/sympy/core/tests/test_constructor_postprocessor.py
imports: from sympy.core.basic import Basic
  from sympy.core.mul import Mul
  from sympy.core.symbol import Symbol, symbols
  from sympy.testing.pytest import XFAIL
label_desc: Use image node_id 1 for calling a global function with example usage: _postprocess_SymbolRemovesOtherSymbols(expr) and returns: Mul, expr