docs: def bwc_bool_transform_from(cls, x):
          """
          Read boolean values from old config files correctly
          and interpret 'True' and 'False' as correct booleans.
          """
          if x.lower() == 'true':
              return True
          elif x.lower() == 'false':
              return False
          return bool(int(x))