input: Write a function to check if a string contains a given substring.
  assert contains_substring("hello world", "world") == True
  assert contains_substring("hello world", "python") == False
  assert contains_substring("abcdef", "abc") == True
output: def contains_substring(s, sub):
      return sub in s