function isBeforeClosingParen(token) {
			const nextToken = sourceCode.getTokenAfter(token);

			return (
				(nextToken && astUtils.isClosingBraceToken(nextToken)) ||
				astUtils.isClosingParenToken(nextToken)
			);
		}
Checks if the next token of a given token is a closing parenthesis.
@param {Token} token The token to check.
@returns {boolean} Whether or not the next token of a given token is a closing parenthesis.