comefrom: <doocs>0766.Toeplitz Matrix_1.py
code: def isToeplitzMatrix( matrix: List[List[int]]) -> bool:
      m, n = len(matrix), len(matrix[0])
      for i in range(1, m):
          for j in range(1, n):
              if matrix[i][j] != matrix[i - 1][j - 1]:
                  return False
      return True
masked: def sample_funcname ( var_0 : List [ List [ int ] ] ) -> bool :
      var_5 , var_7 = len ( var_0 ) , len ( var_0 [ 0 ] )
      for var_10 in range ( 1 , var_5 ) :
          for var_11 in range ( 1 , var_7 ) :
              if var_0 [ var_10 ] [ var_11 ] != var_0 [ var_10 - 1 ] [ var_11 - 1 ] :
                  return False
      return True
  