function isParenthesised(sourceCode, node) {
	const previousToken = sourceCode.getTokenBefore(node),
		nextToken = sourceCode.getTokenAfter(node);

	return (
		Boolean(previousToken && nextToken) &&
		previousToken.value === "(" &&
		previousToken.range[1] <= node.range[0] &&
		nextToken.value === ")" &&
		nextToken.range[0] >= node.range[1]
	);
}
Determines if a node is surrounded by parentheses.
@param {SourceCode} sourceCode The ESLint source code object
@param {ASTNode} node The node to be checked.
@returns {boolean} True if the node is parenthesised.
@private