def METHOD_NAME(client: Client):
    # start new session
    client.init_device(new_session=True)
    session_id = client.session_id
    # restarting same session should go well
    client.init_device()
    assert session_id == client.session_id
    # restarting same session should go well with any setting
    client.init_device(derive_cardano=False)
    assert session_id == client.session_id
    client.init_device(derive_cardano=True)
    assert session_id == client.session_id