GhPython component: Param_Boolean()

Hello
When i compile Ghpy component , the input Boolean is always empty.
How to set Boolean parameter value and use it like in native components?

image

image