boolean (@NotNull EventContext context) { final Object pluginType = context.eventData.get("plugin_type"); final PluginType type = pluginType != null ? PluginInfoDetectorKt.findPluginTypeByValue(pluginType.toString()) : null; if (type == null || !type.isDevelopedByJetBrains()) { return false; } if (type.isPlatformOrJvm() || type == PluginType.FROM_SOURCES || hasPluginField(context)) { return true; } return false; }