title: Check whether an object implements specific interface in VB6
body: <p>How can i check whether an object implements specific interface in VB6? I have the following code:</p>
  
  <pre><code>Dim nodes As MSXML2.IXMLDOMNodeList
  Dim node As MSXML2.IXMLDOMNode
  Dim element As MSXML2.IXMLDOMElement
  
  ...
  
  For Each node In nodes.childNodes
      If (node is MSXML2.IXMLDOMElement (how to do this?)) Then
          Set element = node
          ...
      Else
          ...
      End If
  </code></pre>