code: function isInRange(node, location) {
      return node && node.range[0] <= location && location <= node.range[1];
  }
docs: Checks whether or not a given location is inside of the range of a given node.
  
  @param {ASTNode} node - An node to check.
  @param {number} location - A location to check.
  @returns {boolean} `true` if the location is inside of the range of the node.