Toggle "Enable Keyboard" via LUA?

Is there a way to toggle the"Enable Keyboard" option using LUA? I mean the toggle checkbox below each vst gui window (if sandboxing and bridging is disabled).