function isPureComponent(node, context) {
  const pragma = getPragma(context);
  if (node.superClass) {
    return new RegExp(`^(${pragma}\\.)?PureComponent$`).test(getText(context, node.superClass));
  }
  return false;
}
Checks if a component extends React.PureComponent
@param {ASTNode} node
@param {Context} context
@returns {boolean}