import GafferUI boolWidget = GafferUI.BoolWidget( value = True )This code creates an instance of the BoolWidget class with an initial value of True. The user can click on the check box to toggle the value of the widget. Package/Library: The Python GafferUI BoolWidget is a part of the Gaffer package/library. Gaffer is a node-based computer graphics software used for creating visual effects in films, television shows, and advertisements. It is built on top of the OpenCue render manager and supports Python scripting.