It's better to use triple equal in this case. I know old code isn't consistent.