This shoudl really just be `space.is_kind_of(w_backtrace, space.w_array)`, no need for a helper function. The `isinstance(W_StringObjects)` should similarly be `space.is_kind_of(w_obj, space.w_string)`.