Inline strtobool function
The distutils package has been deprecated in Python 3.10 and will be removed in Python 3.12.
I did not find a suitable alternative so let's copy the (trivial) implementation of strtobool from Python 3.10's distutils.
The distutils package has been deprecated in Python 3.10 and will be removed in Python 3.12.
I did not find a suitable alternative so let's copy the (trivial) implementation of strtobool from Python 3.10's distutils.