`assert` used in code flow
Summary
While looking in the origin of issue #58 (closed) , I found that assert
is used in the code for flow control options:
assert
should only be used for testing and/or debugging purposes, because assert
checks can be turned off.
See https://realpython.com/python-assert-statement/#understanding-common-pitfalls-of-assert