The `or None` part makes `data == None` in case `data.strip()` yields an empty string.