boolean (ReopenProjectAction action) { List<ProjectGroup> groups = RecentProjectsManager.getInstance().getGroups(); for (ProjectGroup group : groups) { if (!group.isTutorials()) { continue; } for (String project : group.getProjects()) { if(project.contains(action.getProjectPath())) return true; } } return false; }