human
Solve the following python programming problem given the following code:
@overload_attribute(IndexType, 'is_monotonic_increasing')
def index_is_monotonic_increasing(typ):
assistant
#Here is the Python program you requested.

    """Index.is_monotonic_increasing
    """
    def getter(index):
        data = index._data
        if (len(data) == 0):
            return True
        u = data[0]
        for v in data:
            if (v < u):
                return False
            v = u
        return True
    return getter