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