Return True if the keyed message exists, False otherwise.
(self, key)
| 406 | yield key |
| 407 | |
| 408 | def __contains__(self, key): |
| 409 | """Return True if the keyed message exists, False otherwise.""" |
| 410 | self._refresh() |
| 411 | return key in self._toc |
| 412 | |
| 413 | def __len__(self): |
| 414 | """Return a count of messages in the mailbox.""" |