Convert the Tcl boolean string s (one of '1', 'true', 'yes', 'on' and similar, or their false counterparts) to a Python bool. Raise ValueError for an invalid value.
tkinter/getboolean
getboolean