def isUnique(self, word):
        """
        check if a word is unique.
        :type word: str
        :rtype: bool
        """
        l = len(word)
        abbr = self.abbreviation(word)
        return {word} <= self.lookup_[abbr]
dataset/ETHPy150Open kamyu104/LeetCode/Python/unique-word-abbreviation.py/ValidWordAbbr.isUnique/swapped operands of `<=`