def upgrade_available(name):
    return latest_version(name) != ''
Check whether or not an upgrade is available for a given package
dataset/ETHPy150Open saltstack/salt/salt/modules/pacman.py/upgrade_available