def is_square(self):
        return self.shape[0] == self.shape[1]
m.is_square() --> bool
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/util/arrays.py/MatrixN.is_square