It would be great if we support the `match` statement added in Python 3.10, but the entire syntax is somewhat complex. https://docs.python.org/3/library/ast.html#pattern-matching