code: func (l VirtualDeviceList) Select(f func(device types.BaseVirtualDevice) bool) VirtualDeviceList {
  	var found VirtualDeviceList
  
  	for _, device := range l {
  		if f(device) {
  			found = append(found, device)
  		}
  	}
  
  	return found
  }
docs: // Select returns a new list containing all elements of the list for which the given func returns true.