input: Write a python function to check if a list of words are all anagrams of each other.
  assert check_anagrams(["listen", "silent", "enlist"]) == True
  assert check_anagrams(["hello", "bellow", "below"]) == False
  assert check_anagrams(["race", "care", "acer"]) == True
output: def check_anagrams(words):
      if not words:
          return True
      
      sorted_word = sorted(words[0])
      for word in words[1:]:
          if sorted(word) != sorted_word:
              return False
      return True