code: def test_cmp_issue_4357():
      """Check that Basic subclasses can be compared with sympifiable objects.
  
      https://github.com/sympy/sympy/issues/4357
      """
      assert not (Symbol == 1)
      assert Symbol != 1
      assert not (Symbol == "x")
      assert Symbol != "x"
  
file_path: sympy/sympy/core/tests/test_equal.py
imports: from sympy.core.numbers import Rational
  from sympy.core.symbol import Dummy, Symbol
  from sympy.functions.elementary.exponential import exp
label_desc: Use image node_id 5 for calling a global function with example usage: test_cmp_issue_4357() without return types