def check_change_full_name(user_profile: UserProfile, full_name_raw: str, acting_user: UserProfile) -> str:
    "Verifies that the user's proposed full name is valid.  The caller\n    is responsible for checking check permissions.  Returns the new\n    full name, which may differ from what was passed in (because this\n    function strips whitespace)."
    new_full_name = check_full_name(full_name_raw)
    do_change_full_name(user_profile, new_full_name, acting_user)
    return new_full_name
Verifies that the user's proposed full name is valid.  The caller
is responsible for checking check permissions.  Returns the new
full name, which may differ from what was passed in (because this
function strips whitespace).
def check_change_full_name(user_profile: UserProfile, full_name_raw: str, acting_user: UserProfile) -> str:
    "Verifies that the user's proposed full name is valid.  The caller\n    is responsible for checking check permissions.  Returns the new\n    full name, which may differ from what was passed in (because this\n    function strips whitespace)."
    new_full_name = check_full_name(full_name_raw)
    do_change_full_name(user_profile, new_full_name, acting_user)
    return new_full_name