Convenience method that outputs to stdout if an update is available.

def update_check(package_name, package_version, bypass_cache=False, url=None,
                 **extra_data):
    """Convenience method that outputs to stdout if an update is available."""
    checker = UpdateChecker(url)
    checker.bypass_cache = bypass_cache
    result = checker.check(package_name, package_version, **extra_data)
    if result:
        print(result)