code: def has_all_nonzero_section_lengths(neuron, threshold=0.0):
      '''Check presence of neuron sections with length not above threshold
  
      Arguments:
          neuron(Neuron): The neuron object to test
          threshold(float): value above which a section length is considered
          to be non-zero
  
      Returns:
          CheckResult with result including list of ids of bad sections
      '''
      bad_ids = [s.id for s in _nf.iter_sections(neuron.neurites)
                 if section_length(s.points) <= threshold]
  
      return CheckResult(len(bad_ids) == 0, bad_idsf has_all_nonzero_section_lengths(neuron, threshold=0.0):
      '''Check presence of neuron sections with length not above threshold
  
      Arguments:
          neuron(Neuron): The neuron object to test
          threshold(float): value above which a section length is considered
          to be non-zero
  
      Returns:
          CheckResult with result including list of ids of bad sections
      '''
      bad_ids = [s.id for s in _nf.iter_sections(neuron.neurites)
                 if section_length(s.points) <= threshold]
  
      return CheckResult(len(bad_ids) == 0, bad_ids)
docs: Check presence of neuron sections with length not above threshold
  
      Arguments:
          neuron(Neuron): The neuron object to test
          threshold(float): value above which a section length is considered
          to be non-zero
  
      Returns:
          CheckResult with result including list of ids of bad sections