def is_anagram(word1, word2):
    """Receives two words and returns True/False (boolean) if word2 is
       an anagram of word1, ignore case and spacing.
       About anagrams: https://en.wikipedia.org/wiki/Anagram"""
    w1 = word1.lower().replace(' ', '')
    w2 = word2.lower().replace(' ', '')
    if len(w1) != len(w2):
        return False
    return all(x == y for x, y in zip(sorted(w1.lower()), sorted(w2.lower())))

154d480ff23303802ac14f23b8de68b3c26cc4b2
<mask token>

def is_anagram(word1, word2):
    """Receives two words and returns True/False (boolean) if word2 is
       an anagram of word1, ignore case and spacing.
       About anagrams: https://en.wikipedia.org/wiki/Anagram"""
    w1 = word1.lower().replace(' ', '')
    w2 = word2.lower().replace(' ', '')
    if len(w1) != len(w2):
        return False
    return all(x == y for x, y in zip(sorted(w1.lower()), sorted(w2.lower())))
