function isFunctionComponent(callExpr, functionNames) {
  const callee = callExpr.get('callee');
  if (!singlePath(callee) || !callee.isIdentifier()) {
    return false;
  }
  return functionNames.has(callee.node.name);
}
@param {NodePath<CallExpression>} callExpr
@param {Set<string>} functionNames