Fixed the return of isInstalled function and improved isInstallFromSpressRoot function