'Select All' on a Streamlit Multiselect

Hi, just wanted to refer to a fourth option using st.session_state and a callback for the “Select all” button posted here: https://discuss.streamlit.io/t/select-all-button-for-multiselect/55936/4