def has_no_narrow_neurite_section(neuron,<EOL>neurite_filter,<EOL>radius_threshold=<NUM_LIT>,<EOL>considered_section_min_length=<NUM_LIT:50>):
considered_sections = (sec for sec in iter_sections(neuron, neurite_filter=neurite_filter)<EOL>if sec.length > considered_section_min_length)<EOL>def narrow_section(section):<EOL><INDENT>'''<STR_LIT>'''<EOL>return section.points[:, COLS.R].mean() < radius_threshold<EOL><DEDENT>bad_ids = [(section.id, section.points[<NUM_LIT:1>])<EOL>for section in considered_sections if narrow_section(section)]<EOL>return CheckResult(len(bad_ids) == <NUM_LIT:0>, bad_ids)<EOL>
Check if the neuron has dendrites with narrow sections

    Arguments:
        neuron(Neuron): The neuron object to test
        neurite_filter(callable): filter the neurites by this callable
        radius_threshold(float): radii below this are considered narro
        considered_section_min_length(float): sections with length below
        this are not taken into account

    Returns:
        CheckResult with result. result.info contains the narrow section ids and their
        first point