How about adding ```is not None```. I know it's not strictly necessary, but I lose sleep over objects inadvertently evaluating to False when treated as boolean.