def METHOD_NAME(compound_lingo):
    # valid compound lingo; no issues here
    compound_lingo_dict = compound_lingo.to_dict()
    validate_condition_lingo(compound_lingo_dict)
    invalid_operator_lingo = {
        "version": ConditionLingo.VERSION,
        "condition": {
            "operator": "AND_OPERATOR",  # invalid operator
            "operands": [
                {
                    "returnValueTest": {"value": 0, "comparator": ">"},
                    "method": "blocktime",
                    "chain": TESTERCHAIN_CHAIN_ID,
                },
                {
                    "returnValueTest": {"value": 99999999999999999, "comparator": "<"},
                    "method": "blocktime",
                    "chain": TESTERCHAIN_CHAIN_ID,
                },
            ],
        },
    }
    with pytest.raises(InvalidConditionLingo):
        validate_condition_lingo(invalid_operator_lingo)
    # type of condition is unknown
    with pytest.raises(InvalidConditionLingo):
        validate_condition_lingo(
            {
                "version": ConditionLingo.VERSION,
                "condition": {"dont_mind_me": "nothing_to_see_here"},
            }
        )