input: Write a function to check if two given strings are anagrams of each other. If they are anagrams, return True, otherwise return False. Two strings are considered anagrams if they contain the same characters with the same frequency, regardless of order.
  
  assert is_anagram("abcd", "cbda")==True
  assert is_anagram("listen", "silent")==True
  assert is_anagram("hello", "world")==False
  assert is_anagram("python", "typhon")==True
  assert is_anagram("abc", "abcd")==False
output: def is_anagram(str1, str2):
      return sorted(str1) == sorted(str2)