title: What is the issubclass equivalent of isinstance in python?
body: <p>Given an object, how do I tell if it's a class, and a subclass of a given class Foo?</p>
  
  <p>e.g.</p>
  
  <pre><code>class Bar(Foo):
    pass
  
  isinstance(Bar(), Foo) # =&gt; True
  
  issubclass(Bar, Foo) # &lt;--- how do I do that?
  </code></pre>