def has_key(self, key):
        """Return True if the keyed message exists, False otherwise."""
        self._refresh()
        return key in self._toc
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/Maildir.has_key/original