input: Write a python function to check if a string contains any duplicate characters.
  assert contains_duplicate("hello") == True
  assert contains_duplicate("world") == False
  assert contains_duplicate("aabbcc") == True
  assert contains_duplicate("abc") == False
output: def contains_duplicate(s):
      return len(s) != len(set(s))