I think better way to compare variable to None is by using "is" or "not is" operator, what do you think?