docs: def has_basal_dendrite(neuron, min_number=1, treefun=_read_neurite_type):
      '''Check if a neuron has basal dendrites
  
      Arguments:
          neuron(Neuron): The neuron object to test
          min_number: minimum number of basal dendrites required
          treefun: Optional function to calculate the tree type of neuron's
          neurites
  
      Returns:
          CheckResult with result
      '''
      types = [treefun(n) for n in neuron.neurites]
      return CheckResult(types.count(NeuriteType.basal_dendrite) >= min_number)