public static boolean isAtLeast(@NotNull PsiElement element, @NotNull JavaSdkVersion expected) {
    JavaSdkVersion version = getJavaSdkVersion(element);
    return version == null || version.isAtLeast(expected);
  }
public static boolean isAtLeast(@NotNull PsiElement element, @NotNull JavaSdkVersion expected)