exceptbool (pypi): Converts caught exception into bool value.
Keywords: except|exception|catching|bool|boolean|decorator|context|manager