class ProjectServiceImpl implements ProjectService {

    @Override
    public Boolean isProjectFinanceContact(long userId, long projectId) {
        List<ProjectUserResource> projectFinanceContacts = projectRestService.getProjectFinanceContacts(projectId).getSuccess();
        return projectFinanceContacts.stream().anyMatch(pu -> pu.isUser(userId));
    }

}