Rather than defining a `tos_not_required` variable and testing `not tos_not_required`, can you instead define a `tos_required` variable and check `not tos_required`? It's a very small change, but makes it much more readable.