code: def is_commutative(x):
      return isinstance(x, Compound) and (x.op in ("CAdd", "CMul"))
  
file_path: sympy/sympy/unify/tests/test_unify.py
imports: from sympy.unify.core import Compound, Variable, CondVariable, allcombinations
  from sympy.unify import core
label_desc: Use image node_id 2 for calling a global function with example usage: is_commutative(x) and returns: unknown