public static boolean sdkHasJavadocUrls(Project project) {
    Sdk sdk = JavadocGeneratorRunProfile.getSdk(project);
    return sdk != null && sdk.getRootProvider().getFiles(JavadocOrderRootType.getInstance()).length > 0;
  }
public static boolean sdkHasJavadocUrls(Project project)