code: def sympy_commutative(op):
      comm_ops = (Add, MatAdd, Union, Intersection, FiniteSet)
      return any(issubclass(op, cop) for cop in comm_ops)
  
file_path: sympy/sympy/unify/usympy.py
imports: from sympy.core import Basic, Add, Mul, Pow
  from sympy.core.operations import AssocOp, LatticeOp
  from sympy.matrices import MatAdd, MatMul, MatrixExpr
  from sympy.sets.sets import Union, Intersection, FiniteSet
  from sympy.unify.core import Compound, Variable, CondVariable
  from sympy.unify import core
label_desc: Use image node_id 2 for calling a global function with example usage: sympy_commutative(op) and returns: any