def is_anagram(a, b):
    """
    Checking if two words are anagrams
    >>> is_anagram("hello", "helol")
    True
    >>> is_anagram("hello", "helllo")
    False
    """  

    return sorted(a) == sorted(b)