input: Write a function to determine if two strings are anagrams by comparing the counts of their characters. If the given strings are anagrams return True else return False.
  assert is_anagram("abcd", "cbda") == True
  assert is_anagram("listen", "silent") == True
  assert is_anagram("hello", "world") == False
  assert is_anagram("triangle", "integral") == True
  assert is_anagram("abc", "abcd") == False
output: def is_anagram(s1, s2):
      return sorted(s1) == sorted(s2)