Provide a simple algorithm to check for duplicate entries in a list.
Implement contains_duplicate(entries), which accepts a list of comparable values and returns True if any value appears more than once, otherwise False. Treat values as duplicates when they compare equal. Return False for an empty list or a list with one entry.
Function signature: def contains_duplicate(entries):
def contains_duplicate(entries):