function isValidPair(ctorParam, superArg) {
	return (
		isValidIdentifierPair(ctorParam, superArg) ||
		isValidRestSpreadPair(ctorParam, superArg)
	);
}
Checks whether given 2 nodes have the same value or not.
@param {ASTNode} ctorParam A node to check.
@param {ASTNode} superArg A node to check.
@returns {boolean} `true` if the nodes have the same value or not.