def undulating(number):
    """ Returns True if number is undulating """
    if number < 100:
        return False
    number = str(number)
    for idx in range(len(number)-2):
        if number[idx] != number[idx+2]:
            return False

    return True