Checks if an app given by a package name is installed.
See also: GetPackageName, GetInstalledApps
Example - Check App Installed
function OnStart()
{
var pkg = app.GetPackageName();
var isInstalled = app.IsAppInstalled( pkg );
app.Alert( isInstalled, pkg + " installed:" );
}