It's a requirement for production. If you have tests that run through this code and Redis isn't available, then they should throw SkipTest.

That still doesn't really answer my question, though. Why would the argument be Falsey? Is the caller sending None in here? Seems like this function is named one thing and does another.