function isES6ReactComponent(node) {
  return (node.superClass.property && node.superClass.property.name === 'Component')
    || node.superClass.name === 'Component';
}
Returns if AST node is an ES6 React component
@param {Node} node
@return {Boolean} Determines if AST node is a React component node