get base class type in python
<pre><code>class a:
    pass

class b(a):
    pass

c = b()
type(c) == a #returns False
</code></pre>

<p>Is there an alternative to type() that can check if an object inherits from a class?</p>
