How to if a given type implements some interface
<p>I've got an IModelElement interface, and several classes implementing that interface. Somewhere in my code there's the following statement:</p>

<pre><code>Object childClass = request.getNewObjectType();
</code></pre>

<p>Here getNewObjectType() returns a Class object. I need to check if that Class objects represents a class which implements the IModelElement interface, anyone knows how is this achieved?</p>
