# File lib/action_mailer/vendor/tmail-1.1.0/tmail/attachments.rb, line 15
    def has_attachments?
      multipart? && parts.any? { |part| attachment?(part) }
    end