Convert string to boolean. Library recognizes "yes", "true", "y", "t", "1" as True, and "no", "false", "n", "f", "0" as False. Case insensitive.
$ pip install str2bool
Here's a basic example:
>>> from str2bool import str2bool
>>> print(str2bool('Yes'))
True
BSD