input: Write a python function to determine whether two given strings are anagrams of each other.
  assert check_anagram("Listen", "Silent") == True
  assert check_anagram("Hello", "Olelh") == True
  assert check_anagram("Triangle", "Integral") == True
  assert check_anagram("Apple", "Pabble") == False
  assert check_anagram("Astronomer", "Moon starer") == False
output: def check_anagram(str1, str2):
      str1 = str1.replace(" ", "").lower()
      str2 = str2.replace(" ", "").lower()
      return sorted(str1) == sorted(str2)