We do, but that way is wrong. Using `isinstance` is much better, because it works with potential subclasses. See [issue 3652](https://code.google.com/p/sympy/issues/detail?id=3652) and [issue 3599](https://code.google.com/p/sympy/issues/detail?id=3599).