isSingleLineStatement = function (node) {
  return node.start.line === node.end.line;
}
Determine if statement is a single line statement

@param {Object} node - The statement to check
@returns {bool} True or false