Adding canUseInstaller common function.