boolean (Sdk o1, Project project) { final PythonSdkAdditionalData data = (PythonSdkAdditionalData)o1.getSdkAdditionalData(); if (data != null) { final String path = data.getAssociatedModulePath(); final String projectBasePath = project.getBasePath(); if (path != null && path.equals(projectBasePath)) { return true; } } return false; }