Favor SomeClass === object over object.is_a?(SomeClass).

It seems more likely for users to mess with `is_a?` on
an individual object then `Class#===`, so it's better
to use the latter.