private boolean hasSuitableDialect(@NotNull PsiElement element) {
    return myEnabledDialects.contains(element.getContainingFile().getLanguage().getClass());
  }
private boolean hasSuitableDialect(@NotNull PsiElement element)