class ProjectServiceImpl implements ProjectService {

    @Override
    public final Boolean isProjectManager(long userId, long projectId) {
        return getProjectManager(projectId).map(maybePM -> maybePM.isUser(userId)).orElse(false);
    }

}