Yeah. Seems to me that we simply have a `case` pattern here, and `elif` is the appropriate tool for that in python (given that python doesn't have `switch` or `case` statements).