code: func (l assignedPodNamespaceLister) List(selector labels.Selector) (ret []*v1.Pod, err error) {
  	list, err := l.PodNamespaceLister.List(selector)
  	if err != nil {
  		return nil, err
  	}
  	filtered := make([]*v1.Pod, 0, len(list))
  	for _, pod := range list {
  		if len(pod.Spec.NodeName) > 0 {
  			filtered = append(filtered, pod)
  		}
  	}
  	return filtered, nil
  }
docs: // List lists all Pods in the indexer for a given namespace.