def has_no_jumps(neuron, max_distance=<NUM_LIT>, axis='<STR_LIT:z>'):
bad_ids = []<EOL>axis = {'<STR_LIT:x>': COLS.X, '<STR_LIT:y>': COLS.Y, '<STR_LIT:z>': COLS.Z, }[axis.lower()]<EOL>for neurite in iter_neurites(neuron):<EOL><INDENT>section_segment = ((sec, seg) for sec in iter_sections(neurite)<EOL>for seg in iter_segments(sec))<EOL>for sec, (p0, p1) in islice(section_segment, <NUM_LIT:1>, None):  <EOL><INDENT>if max_distance < abs(p0[axis] - p1[axis]):<EOL><INDENT>bad_ids.append((sec.id, [p0, p1]))<EOL><DEDENT><DEDENT><DEDENT>return CheckResult(len(bad_ids) == <NUM_LIT:0>, bad_ids)<EOL>
Check if there are jumps (large movements in the `axis`)

    Arguments:
        neuron(Neuron): The neuron object to test
        max_distance(float): value above which consecutive z-values are
        considered a jump
        axis(str): one of x/y/z, which axis to check for jumps

    Returns:
        CheckResult with result list of ids of bad sections