boolean (CoverageSuitesBundle suitesBundle) { if (!suitesBundle.shouldActivateToolWindow()) return false; final CoverageSuite[] suites = suitesBundle.getSuites(); for (CoverageSuite suite : suites) { if (!(suite.getCoverageDataFileProvider() instanceof DefaultCoverageFileProvider)) return false; } return true; }