def METHOD_NAME(name: str, value: Any) -> Any:
    if name in BOOLEAN_YES_NO_FIELDS:
        value = convert_yes_no_to_boolean(name, value)
    if isinstance(value, str):
        value = value.strip()
    return value