private static boolean isDeselectingFirstPopupItemDisabled(@NotNull PsiElement element) {
    return ContainerUtil.exists(HtmlInTextCompletionPopupExtension.EP_NAME.getExtensionList(),
                                ext -> ext.isDeselectingFirstItemDisabled(element));
  }
private static boolean isDeselectingFirstPopupItemDisabled(@NotNull PsiElement element)