def METHOD_NAME(cls, default_value: str | list[str], values) -> str | list[str]:
    """Check that the default value is a list if the parameter type is multiple choice."""
    if cls.is_multiple_choice(values) and not isinstance(default_value, list):
        msg = f"Parameter {values['name']} is multiple choice but default_value is not a list"
        raise ValueError(msg)
    if cls.is_multiple_choice_with_addition(values) and isinstance(default_value, list) and default_value:
        msg = f"Parameter {values['name']} is multiple choice with addition but default_value is not empty"
        raise ValueError(msg)
    return default_value