def data_cut_inspan(data_cuts, span_start, span_stop):
    """given data_cuts, which is the return value of remove_saturation, and index, return True if index is in a region that 
    has been cut due to saturation, false otherwise."""
    
    for start,stop in data_cuts:
        if (start < span_stop) and (stop>span_start):
            return True
    return False