<qiyuangong>766_Toeplitz_Matrix_1.py
def isToeplitzMatrix( matrix):
    for r in range(len(matrix) - 1):
        for c in range(len(matrix[0]) - 1):
            if matrix[r][c] != matrix[r + 1][c + 1]:
                return False
    return True
def sample_funcname ( var_0 ) :
    for var_4 in range ( len ( var_0 ) - 1 ) :
        for var_6 in range ( len ( var_0 [ 0 ] ) - 1 ) :
            if var_0 [ var_4 ] [ var_6 ] != var_0 [ var_4 + 1 ] [ var_6 + 1 ] :
                return False
    return True
