in src/main/kotlin/org/jetbrains/teamcity/github/WebhookPeriodicalChecker.kt [66:72]
override fun canReportItemsFor(scope: HealthStatusScope): Boolean {
if (!scope.isItemWithSeverityAccepted(CATEGORY.severity)) return false
if (myIncorrectHooks.size() == 0L && !myWebHooksStorage.isHasIncorrectHooks()) return false
var found = false
Util.findSuitableRoots(scope) { found = true; false }
return found
}