def METHOD_NAME(METHOD_NAME: int, values: EnumValues) -> Condition:
    """
    A condition to check whether a certain dropdown/enum input has a certain value.
    """
    v: List[str | int] = []
    def convert(value: int | str | Enum):
        if isinstance(value, (int, str)):
            v.append(value)
        else:
            enum_value = value.value
            assert isinstance(enum_value, (int, str))
            v.append(enum_value)
    if isinstance(values, (int, str, Enum)):
        convert(values)
    else:
        for value in values:
            convert(value)
    return Condition(
        {
            "kind": "enum",
            "enum": InputId(METHOD_NAME),
            "values": v,
        }
    )