Check whether the application <name> is installed.

def has_app(name, check_platform=True):
        """Check whether the application <name> is installed."""
        if check_platform:
            Environment._platform_is_windows()
        return which(str(name)) is not None