Check if the given matrix is Hankel or not.
Implement is_hankel(matrix), where matrix is a non-empty rectangular list of lists of integers. Return True if every anti-diagonal, identified by a constant row + column index, contains equal values; otherwise return False.
The matrix may be square or rectangular. A matrix with one row or one column is Hankel by definition.
def is_hankel(matrix):