CLN/depr: NDFrame.bool
Some cleanup related to https://github.com/pandas-dev/pandas/pull/51756. The example code causes warning when running `ci/code_checks.sh`, this suppresses that.
Thanks @topper-123 