private static boolean isModulePointsSameRoot(ModuleData moduleData, Module ideModule) {
    for (VirtualFile root: ModuleRootManager.getInstance(ideModule).getContentRoots()) {
      if (VfsUtilCore.pathEqualsTo(root, moduleData.getLinkedExternalProjectPath())) {
        return true;
      }
    }
    return false;
  }
private static boolean isModulePointsSameRoot(ModuleData moduleData, Module ideModule)