You can use setboolprop here similar to above.