code: def test_MatrixPermute_explicit():
      p = Permutation(0, 1, 2)
      A = MatrixSymbol("A", 3, 3)
      AA = A.as_explicit()
      assert MatrixPermute(A, p, 0).as_explicit() == AA.permute(
          p, orientation="rows"
      )
      assert MatrixPermute(A, p, 1).as_explicit() == AA.permute(
          p, orientation="cols"
      )
  
imports: from sympy.combinatorics import Permutation
  from sympy.core.expr import unchanged
  from sympy.matrices import Matrix
  from sympy.matrices.expressions import MatMul, BlockDiagMatrix, Determinant, Inverse
  from sympy.matrices.expressions.matexpr import MatrixSymbol
  from sympy.matrices.expressions.special import ZeroMatrix, OneMatrix, Identity
  from sympy.matrices.expressions.permutation import MatrixPermute, PermutationMatrix
  from sympy.testing.pytest import raises
  from sympy.core.symbol import Symbol
label_desc: Use image node_id 10 for calling a global function with example usage: test_MatrixPermute_explicit() without return types