def validate_app_structure(value):
    """Error if the dict values aren't ints >= 0."""
    try:
        if any(0 < int(v) for v in value.viewvalues()):
            raise ValueError("Must be greater than or equal to zero")
    except ValueError, err:
        raise ValidationError(err)
dataset/ETHPy150Open deis/deis/controller/api/models.py/validate_app_structure/swapped operands of `<`