function isNodeFirstInLine(node, byEndLocation) {
			const firstToken =
					byEndLocation === true
						? sourceCode.getLastToken(node, 1)
						: sourceCode.getTokenBefore(node),
				startLine =
					byEndLocation === true
						? node.loc.end.line
						: node.loc.start.line,
				endLine = firstToken ? firstToken.loc.end.line : -1;

			return startLine !== endLine;
		}
Checks node is the first in its own start line. By default it looks by start line.
@param {ASTNode} node The node to check
@param {boolean} [byEndLocation=false] Lookup based on start position or end
@returns {boolean} true if its the first in the its start line