title: Use inspect module to grab the name of inherited object
body: <p>I want to look at a file and get the names of classes and check if the "Runconfig" name is inherited. So if a file has </p>
  
  <pre><code>class some_function(RunConfig):
  </code></pre>
  
  <p>I want to return true.
  My code looks like this right now:</p>
  
  <pre><code>for file in list_of_files:
     if file in ['some_file.py']:
         for name,obj in inspect.getmembers(file):
            if inspect.isclass(obj):
               print("NAME",name,"obj",obj)
  </code></pre>
  
  <p>This returns objects but I don't see anything that says 'RunConfig' on it. 
  What am I missing here?
  Thank you so much in advance!</p>