code: def logical_operator(self, operation, word):
          
          word = self._parse_filter_word(word)
          self._add_filter(
              *self._prepare_sentence(self._attribute, operation, word,
                                      self._negation))
          return self
docs: Apply a logical operator
  
          :param str operation: how to combine with a new one
          :param word: other parameter for the operation
           (a = b) would be like a.logical_operator('eq', 'b')
          :rtype: Query