title: How to determine if a class which is an implemenation of an interface in java
body: <p>I need to write a function to return true if the incoming java Class is an implementation of the interface List. Does anybody know how to do this in java?</p>
  
  <p>something like:</p>
  
  <pre><code>public boolean canConvert(Class c) {
  
    //return true is c is an implementation of the interface List
  
  }
  </code></pre>
  
  <p>Thanks</p>