ValidationResultType (@NotNull String data, @NotNull EventContext context) { if (getKnownInspectionIds().contains(data)) { return ValidationResultType.ACCEPTED; } return ValidationResultType.REJECTED; }