code: func (f *MaxReplicasFilter) SetTask(t *api.Task) bool {
  	if t.Spec.Placement != nil && t.Spec.Placement.MaxReplicas > 0 {
  		f.t = t
  		return true
  	}
  
  	return false
  }
docs: // SetTask returns true when max replicas per node filter > 0 for a given task.