input: Write a function to determine if two strings are anagrams of each other. If the strings have different lengths, return False. Otherwise, compare the character counts of both strings. If they match, return True; otherwise, return False. If either string is empty, return False.
  assert is_anagram("abcd", "cbda")==True
  assert is_anagram("hello", "world")==False
  assert is_anagram("", "")==False
  assert is_anagram("listen", "silent")==True
  assert is_anagram("anagram", "nagaram")==True
output: def is_anagram(s1, s2):
      if len(s1) != len(s2) or s1 == "" or s2 == "":
          return False
      return sorted(s1) == sorted(s2)