Help Applescript to toggle VPN on or off

Hello Community, I am not very experienced with AppleScripts.
I need help with an AppleScript that checks a connection and either connects or disconnects it with an if then else action.

I do have this AppleScript to activate:

tell application "VyprVPN"
	Connect protocol most_secure host "USA - New York"
end tell

and disable:

tell application "VyprVPN"
end tell

but would like to combine them in an AppleScript.

Unfortunately, a support request did not help, because there was no free resource?

I say thank you for every help

** most_secure = found out that I can activate the WireGuard protocol with it.**