DOMImplementation.hasFeature("CM-DOC") returns true if a given DOM supports these capabilities.
DOMImplementation.hasFeature("CM-DOC")
NodeCM
ElementCM
CharacterDataCM
DocumentTypeCM
AttributeCM