boolean (@NotNull PsiElement element, @NotNull ResolveState state) { if (element instanceof PyElement && importedFile instanceof PyFile && !PyUtil.isStarImportableFrom(StringUtil.notNullize(((PyElement)element).getName()), (PyFile)importedFile)) { return true; } return super.execute(element, state); }