Return True if the keyed message exists, False otherwise.
(self, key)
| 680 | yield from self._toc.keys() |
| 681 | |
| 682 | def __contains__(self, key): |
| 683 | """Return True if the keyed message exists, False otherwise.""" |
| 684 | self._lookup() |
| 685 | return key in self._toc |
| 686 | |
| 687 | def __len__(self): |
| 688 | """Return a count of messages in the mailbox.""" |