The location of the code to check if within bounds. If falsy, false is returned.
The boundaries to check against. If both start and end are null, false is
returned. The range will consider range.start to be inclusive, and range.end to be exclusive.
Returns true if the given location is within a range of code.