Example sections on: - When to use TypeIs - How to write a safe TypeIs - TypeIs vs. TypeGuard Also note the implementations in typing-extensions, pyright, and pyanalyze.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>