public bool HasOlderPackageInstalled(IPackageFromRepository package) { if (HasSingleProjectSelected()) { IPackageManagementProject project = GetSingleProjectSelected(package.Repository); return(project.HasOlderPackageInstalled(package)); } return(false); }