input: Write a function to check if any characters from one string are present in another string.
  assert contains_chars("Hello", "eo") == True
  assert contains_chars("Hello", "xyz") == False
  assert contains_chars("abcdef", "az") == True
  assert contains_chars("abcdef", "gh") == False
output: def contains_chars(str1, str2):
      return any(char in str1 for char in str2)