static boolean hasJavaFxArtifacts(@NotNull Project project) {
    return CachedValuesManager.getManager(project).getCachedValue(project, () -> {
      ArtifactManager artifactManager = ArtifactManager.getInstance(project);
      Collection<? extends Artifact> artifacts = artifactManager.getArtifactsByType(JavaFxApplicationArtifactType.getInstance());
      return Result.create(!artifacts.isEmpty(), artifactManager.getModificationTracker());
    });
  }
static boolean hasJavaFxArtifacts(@NotNull Project project)