class Mail::Message

def has_message_id?

not have a value, but the field exists or not.
Returns true if the message has a message ID field, the field may or may
def has_message_id?
  header.has_message_id?
end