boolean (@NotNull PsiElement anchor, @NotNull PsiNamedElement element, @Nullable String asName) { return insertImport(anchor, element, asName, PyCodeInsightSettings.getInstance().PREFER_FROM_IMPORT); }