function isSingleLineNode(node) {
			const lastToken = sourceCode.getLastToken(node),
				startLine = node.loc.start.line,
				endLine = lastToken.loc.end.line;

			return startLine === endLine;
		}
Checks if the given node starts and ends on the same line
@param {ASTNode} node The node to check
@returns {boolean} Whether or not the block starts and ends on the same line.