Return True if the keyed message exists, False otherwise.
(self, key)
| 463 | yield key |
| 464 | |
| 465 | def __contains__(self, key): |
| 466 | """Return True if the keyed message exists, False otherwise.""" |
| 467 | self._refresh() |
| 468 | return key in self._toc |
| 469 | |
| 470 | def __len__(self): |
| 471 | """Return a count of messages in the mailbox.""" |