boolean (Project project) { if (hideDefaultShelfTab(project)) return false; // do not init manager on EDT - wait for ShelveChangesManager.PostStartupActivity ShelveChangesManager shelveManager = project.getServiceIfCreated(ShelveChangesManager.class); return shelveManager != null && !shelveManager.getAllLists().isEmpty(); }