()
:returns: :any:`True` if they are updated.
:returns: :any:`True` if they are updated.
: returns : : any : True if they are updated .
def run() -> bool:
    """
    :returns: :any:`True` if they are updated.
    """

    try:
        is_updated = run_for_package(package_name=version.__package_name__, current_version=version.__version__)
        is_api_updated = run_for_package(package_name=api_version.__package_name__, current_version=api_version.__version__)
        return is_updated and is_api_updated

    except Exception as e:
        logger.error('failed to check update: %s', e)
        return True
def run ( ) -> bool : try : is_updated = run_for_package ( package_name = version . __package_name__ , current_version = version . __version__ ) is_api_updated = run_for_package ( package_name = api_version . __package_name__ , current_version = api_version . __version__ ) return is_updated and is_api_updated except Exception as e : logger . error ( 'failed to check update: %s' , e ) return True