def has_dupes(sequence, target):
    """Given a sequence and search object, return True if there's more
    than one, False if zero or one of them.


    """
    c = 0
    for item in sequence:
        if item is target:
            c += 1
            if c > 1:
                return True
    return False
