could we say, `obj.respond_to?(:class)` instead?