docs: public static boolean shouldInline(Map<String, ? extends Attachment> attachments,
                                  PushAttachmentsInline inlinePreference,
                                  int minRevPos) {
          boolean shouldInline = true;
          // first figure out if any attachments don't want to be inlined
          for (Attachment att : attachments.values()) {
              SavedAttachment savedAtt = (SavedAttachment) att;
              if (savedAtt.revpos > minRevPos && !savedAtt.shouldInline(inlinePreference)) {
                  // if at least one attachments doesn't want to be inlined, then they all go into
                  // the multipart writer
                  shouldInline = false;
                  break;
              }
          }
          return shouldInline;
      }