input: Write a python function to check if two strings are anagrams.
  assert is_anagram("listen", "silent") == 1
  assert is_anagram("hello", "billion") == 0
  assert is_anagram("evil", "vile") == 1
  assert is_anagram("dormitory", "dirty room") == 1
output: def is_anagram(str1, str2):
      str1 = ''.join(str1.split()).lower()
      str2 = ''.join(str2.split()).lower()
      return 1 if sorted(str1) == sorted(str2) else 0