code: def checkMatrixDimension(A, B):
      if A.shape != B.shape:
          raise matrixErrors("The dimensions do not match!")
  
file_path: pydlm/pydlm/base/tools.py
imports: import math
label_desc: Use image node_id 1 for calling the checker obj's underlying member method code with example usage: obj.checkMatrixDimension(A, B) without return types