Return True if the keyed message exists, False otherwise.
(self, key)
| 687 | yield from self._toc.keys() |
| 688 | |
| 689 | def __contains__(self, key): |
| 690 | """Return True if the keyed message exists, False otherwise.""" |
| 691 | self._lookup() |
| 692 | return key in self._toc |
| 693 | |
| 694 | def __len__(self): |
| 695 | """Return a count of messages in the mailbox.""" |