Uses "is" instead of == when comparing with None