Change package_installed to package_is_installed