boolean (@NotNull StatusBar statusBar) { Project project = statusBar.getProject(); if (project == null) { return false; } FileEditor editor = getFileEditor(statusBar); return JsonSchemaStatusWidget.isAvailableOnFile(project, editor != null ? editor.getFile() : null); }