Write a function that checks for duplicate entries in a list.
Implement contains_duplicate(entries), which returns True if any value appears more than once and False otherwise. Assume all entries are hashable, and preserve no ordering because only the existence of a duplicate matters.
Function signature: def contains_duplicate(entries):
Input is a list of hashable values. The output is a Boolean.
def contains_duplicate(entries):