def METHOD_NAME(v: str) -> Any:
    if v.lower() == 'true' or v == '1':
        return True
    elif v.lower() == 'false' or v == '0':
        return False
    try:
        return float(v)
    except:
        pass
    return v