boolean (@Nullable VirtualFile schemaFile) { if (schemaFile == null) return false; JsonSchemaService service = getService(); return service != null && service.isSchemaFile(schemaFile) && service.isApplicableToFile(schemaFile); }