Sets a new value of the visibility flag for the checkbox. The visibility flag determines whether the checkbox is visible in a document (if true) or is hidden (if false).