code: public static boolean isInterface(LightweightTypeReference type) {
  		return type.getType() instanceof JvmGenericType
  				&& ((JvmGenericType) type.getType()).isInterface();
  	}
docs: Replies if the given type is an interface.
  
  @param type - the type to test.
  @return <code>true</code> if the given type is an interface.