boolean (final @NotNull Project project, final @NotNull VirtualFile file) { try (AccessToken ignore = SlowOperations.knownIssue("IDEA-307701, EA-762786")) { return FileTypeRegistry.getInstance().isFileOfType(file, GuiFormFileType.INSTANCE) && !GuiFormFileType.INSTANCE.isBinary() && (ModuleUtilCore.findModuleForFile(file, project) != null || file instanceof LightVirtualFile); } }