function isComponent(node) {
  return (
    node.name
    && (node.name.type === 'JSXIdentifier' || node.name.type === 'JSXMemberExpression')
    && !jsxUtil.isDOMComponent(node)
  );
}
@fileoverview Prevent extra closing tags for components without children
@author Yannick Croissant