class DownloadStrategy {

    public boolean validFilenameFromStore(@NonNull DownloadTask task) {
        final String filename = OkDownload.with().breakpointStore()
                .getResponseFilename(task.getUrl());
        if (filename == null) return false;

        task.getFilenameHolder().set(filename);
        return true;
    }

}