Merge "Create an #isAppInstalled() util method" into tm-dev