Nit: You don't need this `else` since the `if` side is guaranteed to return. So you can nix the `else` and dedent the block one stop.