code: def test_commutative():
      det_a = Determinant(A)
      det_b = Determinant(B)
      assert det_a.is_commutative
      assert det_b.is_commutative
      assert det_a * det_b == det_b * det_a
  
file_path: sympy/sympy/matrices/expressions/tests/test_determinant.py
imports: from sympy.core import S, symbols
  from sympy.matrices import eye, ones, Matrix, ShapeError
  from sympy.matrices.expressions import Identity, MatrixExpr, MatrixSymbol, Determinant, det, per, ZeroMatrix, Transpose, Permanent, MatMul
  from sympy.matrices.expressions.special import OneMatrix
  from sympy.testing.pytest import raises
  from sympy.assumptions.ask import Q
  from sympy.assumptions.refine import refine
label_desc: Use image node_id 4 for calling a global function with example usage: test_commutative() without return types