Interpret the string s as a Tcl boolean and return the corresponding bool. Tcl accepts values such as '1', '0', 'yes', 'no', 'true', 'false', 'on' and 'off'. Raise ValueError if s is not a valid boolean.
tkinter/Misc.getboolean
Misc.getboolean