use is comparator and not == for None