boolean (@NotNull Sdk sdk, PyFlavorData.@NotNull Empty flavorData, @Nullable TargetEnvironmentConfiguration targetConfig) { if (super.sdkSeemsValid(sdk, flavorData, targetConfig)) { return true; } if (targetConfig != null) { // non-local, cant check for appx return true; } var path = sdk.getHomePath(); return path != null && isLocalPathValidPython(Path.of(path)); }