boolean (@NotNull Project project, @Nullable VirtualFile file) { if (file == null) { return false; } List<JsonSchemaEnabler> enablers = JsonSchemaEnabler.EXTENSION_POINT_NAME.getExtensionList(); if (!ContainerUtil.exists(enablers, e -> e.isEnabledForFile(file, project) && e.shouldShowSwitcherWidget(file))) { return false; } return true; }