input: Write a python function to check whether two strings are anagrams or not.
  assert is_anagram('listen', 'silent') == True
  assert is_anagram('hello', 'billion') == False
  assert is_anagram('triangle', 'integral') == True
output: def is_anagram(str1, str2):
      return sorted(str1) == sorted(str2)