code: def det(matexpr):
      """Matrix Determinant
  
      Examples
      ========
  
      >>> from sympy import MatrixSymbol, det, eye
      >>> A = MatrixSymbol('A', 3, 3)
      >>> det(A)
      Determinant(A)
      >>> det(eye(3))
      1
      """
  
      return Determinant(matexpr).doit()
  
imports: from sympy.core.basic import Basic
  from sympy.core.expr import Expr
  from sympy.core.singleton import S
  from sympy.core.sympify import sympify
  from sympy.matrices.exceptions import NonSquareMatrixError
  from sympy.matrices.matrixbase import MatrixBase
  from sympy.assumptions.ask import ask, Q
  from sympy.assumptions.refine import handlers_dict
label_desc: Use image node_id 1 for calling a global function with example usage: det(matexpr) and returns: Determinant