input: Write a function to determine if two given strings are anagrams. Return True if they are anagrams, otherwise return False. Consider that anagrams are strings that contain the same characters with the same frequency, but possibly in a different order. If either of the strings is empty, return False.
  
  assert is_anagram("abcd", "cbda") == True
  assert is_anagram("listen", "silent") == True
  assert is_anagram("hello", "world") == False
  assert is_anagram("", "test") == False
  assert is_anagram("anagram", "nagaram") == True
output: def is_anagram(s1, s2):
      if s1 == "" or s2 == "":
          return False
      return sorted(s1) == sorted(s2)