def comp_points(point1):
    """
    Compare two points.  Points are considered the same if their corresponding
    row values and col values are equal.

    @param {point} point1 First point
    @param {point} point2 Second point
    @return {Boolean} true if x and y are the same, false otherwise
    """
    def _inner1(point2):
        return (point1["row"] == point2["row"]) and (
            point1["col"] == point2["col"])
    return _inner1