title: Determine if the class that will be created is a children of another
body: <p>For this example, I will use 2 classes, Entity and CSpawner. CSpawner is a children of Entity.</p>
  
  <p>I want to perform the following condition:</p>
  
  <pre><code>if((new CSpawner()) is Entity)
  </code></pre>
  
  <p>It works just like intended.</p>
  
  <p>But I want to do this test, without creating a new CSpawner object, something like this:</p>
  
  <pre><code>if(CSpawner is Entity)
  </code></pre>
  
  <p>But it doesn't work, because CSpawner is a Class.</p>
  
  <p>How do I perform that kind of conditional without creating a new CSpawner object?</p>