code: def collapse_if_matches(self, querystring):
          
          self.set_position_collapsed(
              self.root, self._message.matches(querystring))
docs: collapse (and show summary only) if the :class:`alot.db.Message`
          matches given `querystring`