code: public static boolean shouldUseMultipartUpload(PutObjectRequest putObjectRequest, TransferManagerConfiguration configuration) {
          long contentLength = TransferManagerUtils.getContentLength(putObjectRequest);
          return contentLength > configuration.getMultipartUploadThreshold();
  
      }
docs: Returns true if the the specified request should be processed as a
  multipart upload (instead of a single part upload).
  
  @param putObjectRequest
  The request containing all the details of the upload.
  @param configuration
  Configuration settings controlling how transfer manager
  processes requests.
  
  @return True if the the specified request should be processed as a
  multipart upload.