<p>I was thinking along the lines of using <code>typeid()</code> but I don't know how to ask if that type is a subclass of another class (which, by the way, is abstract)</p>

In c# you can simply say:
```
```
if (myObj is Car) {

}
```
```