def limiter(enumeration):
    """
    limit the iterator to either a maximum of 1000 numbers
    or bail early if we manage to get a number that is divisible
    by 100.
    """
    return enumeration.count <= 1000 or enumeration.element % 100 != 0