def word_exists(cls, word): return Word.get(word, cls).exists
def __init__(self, dao, aao): self.dao = Word.get(dao, Priberam.DAO) self.aao = Word.get(aao, Priberam.AAO) self.update({self.dao: self.aao})