def checklang(self,word):
        if self.lang == "ta":
            return tamil.utf8.all_tamil(word)
        for w in word.lower():
            if not ( string.ascii_lowercase in w ):
                return False
        return True
    
    # Ref: https://www.tinymce.com/docs/plugins/spellchecker/
dataset/ETHPy150Open Ezhil-Language-Foundation/open-tamil/spell/spell.py/Speller.checklang/swapped operands of `in`