boolean (@Nullable EventGroupRules rule) { return StatisticsRecorderUtil.isTestModeEnabled(myRecorderId) && rule != null && ContainerUtil.exists(rule.getEventIdRules(), r -> r instanceof TestModeValidationRule); }