boolean (@NotNull final PyImportStatementBase importStatementBase) { if (importStatementBase.getFullyQualifiedObjectNames().isEmpty() && !(importStatementBase instanceof PyFromImportStatement && ((PyFromImportStatement)importStatementBase).isStarImport())) { return false; } final Sdk sdk = getPythonSdk(importStatementBase); if (sdk == null) { return false; } final PythonSdkFlavor flavor = PythonSdkFlavor.getFlavor(sdk); if (flavor instanceof IronPythonSdkFlavor) { return true; } return isGtk(importStatementBase); }