boolean (@NotNull VirtualFile file) { JsonSchemaFileProvider provider = myState.getProvider(file); if (provider != null) { return isSchemaProvider(provider); } Map<VirtualFile, List<JsonSchemaFileProvider>> map = myState.myData.getValue(); for (List<JsonSchemaFileProvider> providers : map.values()) { for (JsonSchemaFileProvider p : providers) { if (isSchemaProvider(p) && p.isAvailable(file)) { return true; } } } return false; }