class Mail::Message

def has_attachments?

def has_attachments?
  !attachments.empty?
end