input: Write a python function to check if two strings are anagrams.
  assert isAnagram("listen", "silent") == True
  assert isAnagram("hello", "world") == False
  assert isAnagram("Dormitory", "Dirty room") == True
output: def isAnagram(str1, str2):
      str1 = str1.replace(" ", "").lower()
      str2 = str2.replace(" ", "").lower()
      return sorted(str1) == sorted(str2)