boolean (@NotNull String sectionName) { EDT.assertIsEdt(); for (String activity : ourStack) { if (RESET.equals(activity)) { break; } if (sectionName.equals(activity)) { return true; } } return false; }