class ApplicationCompletedViewModel {

    public boolean completedOrMarkedAsComplete(QuestionResource questionResource, SectionResource sectionResource) throws ExecutionException, InterruptedException {
        return (questionResource.isMarkAsCompletedEnabled() && getMarkedAsComplete().contains(questionResource.getId()))
                || completedSectionsByUserOrganisation.contains(sectionResource.getId());
    }

    public  ApplicationCompletedViewModel(Set<Long> sectionsMarkedAsComplete,
                                         Future<Set<Long>> markedAsComplete,
                                         Set<Long> completedSectionsByUserOrganisation,
                                         boolean financeSectionComplete,
                                         boolean financeOverviewSectionComplete);

}