Add isPackageInstalled function that was missing