`object.is_a?` can lie, `Hash ===` makes sure it's a hash.