code: def is_rfc822(self) -> bool:
          
          ct_hdr = self.header.parsed.content_type
          if ct_hdr is None:
              return False
          else:
              return ct_hdr.content_type == 'message/rfc822'
docs: True if the content-type of the message is ``message/rfc822``.