Create a Python program to check if a given string is an anagram or not. An anagram is a word that can be rearranged to form another word.
def is_anagram(word1, word2):
    list_word1 = sorted(list(word1))
    list_word2 = sorted(list(word2))
    
    return list_word1 == list_word2