def METHOD_NAME(restore_id=None):
    elem = safe_element("Sync")
    elem.set("xmlns", SYNC_XMLNS)
    if restore_id is not None:
        elem.append(safe_element("restore_id", restore_id))
    return elem