Coding: return true if item appears more than once in a list.
Implement contains_duplicate(items) to return True when any item occurs at least twice, and False otherwise. Assume every item is hashable and preserve the input list.
Function: def contains_duplicate(items):
Input: A list of hashable values. Output: A boolean.
def contains_duplicate(items):