code: def check(n, scale_matrix):
      if not isinstance(scale_matrix, MatrixSymbol):
          _value_check(
              scale_matrix.is_positive_definite,
              "The shape " "matrix must be positive definite.",
          )
      _value_check(scale_matrix.is_square, "Should " "be square matrix")
      _value_check(n.is_positive, "Shape parameter should be positive.")
  
imports: from math import prod
  from sympy.core.basic import Basic
  from sympy.core.numbers import pi
  from sympy.core.singleton import S
  from sympy.functions.elementary.exponential import exp
  from sympy.functions.special.gamma_functions import multigamma
  from sympy.core.sympify import sympify, _sympify
  from sympy.matrices import ImmutableMatrix, Inverse, Trace, Determinant, MatrixSymbol, MatrixBase, Transpose, MatrixSet, matrix2numpy
  from sympy.stats.rv import _value_check, RandomMatrixSymbol, NamedArgsMixin, PSpace, _symbol_converter, MatrixDomain, Distribution
  from sympy.external import import_module
label_desc: Use image node_id 1 for calling the WishartDistribution obj's underlying member method code with example usage: obj.check(n, scale_matrix) without return types