Boolean (@NotNull DataContext dataContext) { Project project = dataContext.getData(CommonDataKeys.PROJECT); return project != null && ProjectView.getInstance(project).isHideEmptyMiddlePackages(AbstractProjectViewPane.this.getId()); }