public static boolean isWebReferenceWorthy(@NotNull PsiElement element) {
    return element instanceof HintedReferenceHost || element instanceof ContributedReferenceHost || element instanceof PsiExternalReferenceHost;
  }
public static boolean isWebReferenceWorthy(@NotNull PsiElement element)