function isDOMComponent(node) {
  const name = elementType(node);
  return COMPAT_TAG_REGEX.test(name);
}
Checks if a node represents a DOM element according to React.
@param {object} node - JSXOpeningElement to check.
@returns {boolean} Whether or not the node corresponds to a DOM element.