Functions: Exercise 6

Write a function named has_duplicates that takes a list as a parameter and returns True if there is any object that appears more than once in the list.