Code to disable and enable CursorSense

Can anyone assist me in creating a script that enables and disables CursorSense? I like my sensitivity really high, but when other people use my laptop, they hate it and I have to go into settings and disable it. A Touch Bar button would be really helpful.