# File lib/action_mailer/vendor/tmail-1.1.0/tmail/attachments.rb, line 19
    def attachment?(part)
      (part['content-disposition'] && part['content-disposition'].disposition == "attachment") ||
      part.header['content-type'].main_type != "text"
    end