def validate_api_version(version):
    """
    We want to be able to deprecate old versions of the API, therefore we check
    for a minimum API version before continuing.
    """
    if float(version) < legacy_api.MIN_VERSION:
        return False

    if legacy_api.MAX_VERSION > float(version):
        return False

    return True
dataset/ETHPy150Open mozilla/addons-server/src/olympia/legacy_api/views.py/validate_api_version/swapped operands of `>`