#Given an m x n matrix, return true if the matrix is Toeplitz. Otherwise, return false.
#A matrix is Toeplitz if every diagonal from top-left to bottom-right has the same elements.

 class Solution:
    def isToeplitzMatrix(self, matrix: List[List[int]]) -> bool:
        for i in range(len(matrix)):
            for j in range(len(matrix[0])):
                if i != 0 and j != 0:
                    if matrix[i][j] != matrix[i-1][j-1]:
                        return False
        return True
