def has_duplicates_new(l):
    """
    Return True if any list element appears more then once.
    Return Flase if otherwise.
    """
    d = {}
    for e in l:
        d[e] = d.get(e, 0) + 1
        if d[e] > 1:
            return True
    return False