function isLastTokenInCurrentLine(token) {
			const tokenAfter = sourceCode.getTokenAfter(token);

			return !(
				tokenAfter && astUtils.isTokenOnSameLine(token, tokenAfter)
			);
		}
Checks if the given token is the last token in its line.
@param {Token} token The token to check.
@returns {boolean} Whether or not the token is the last in its line.