function isNestedMemo(node) {
      return astUtil.isCallExpression(node)
        && node.arguments
        && astUtil.isCallExpression(node.arguments[0])
        && utils.isPragmaComponentWrapper(node);
    }
Checks if React.forwardRef is nested inside React.memo
@param {ASTNode} node The AST node being checked.
@returns {boolean} True if React.forwardRef is nested inside React.memo, false if not.