def METHOD_NAME(address: Dict[str, Any]) -> Dict[str, Any]:
    """
    Lob limits the maximum length of a sender/recipient's name, but
    we don't necessarily limit our name lengths; if ours is longer than
    Lob's limit, just truncate it--we'll trust that the postal service
    can still make sense of the address.
    """
    if isinstance(address.get("name"), str):
        return {**address, "name": address["name"][:MAX_NAME_LEN]}
    return address