title: Python - isinstance(classInfo, classInfo)
body: <p>The Python documentation says that <code>isinstance</code> requires an instance object of a class and the class info. The problem is:
  I just have 2 class info object and have to check if class_inf1 is a instance of class_inf2</p>
  
  <p>Example:</p>
  
  <pre><code>class Foo(object):
      pass
  
  class Bar(Foo):
      pass
  
  # It should check if Bar is a instance of Foo. Bar can either be one of many subclasses or 
  # the same class.
  isinstance(Bar, Foo)
  
  # i.e.: the function I'm looking for should be working as if Bar was an object:
  isinstance(Bar(), Foo)
  </code></pre>
  
  <p>In my more complex code, I can't know what Bar is because it is a variable. I can't initialize it because I don't know what parameters it takes and it might do some nasty things, too. (And I will never need to initialize this variable because it is kind of a test).</p>