@register.function
def version_disabled(version):
    disabled = [status == amo.STATUS_DISABLED
                for _id, status in version.statuses]
    return all(disabled)
Ensure all necessary keys are present and correct in clean steps.
dataset/ETHPy150Open mozilla/addons-server/src/olympia/devhub/helpers.py/version_disabled--crossover with--dataset/ETHPy150Open openstack/ironic/ironic/api/controllers/v1/node.py/_check_clean_steps