code: func (f *MaxReplicasFilter) Check(n *NodeInfo) bool {
  	return uint64(n.ActiveTasksCountByService[f.t.ServiceID]) < f.t.Spec.Placement.MaxReplicas
  }
docs: // Check returns true if there is less active (assigned or pre-assigned) tasks for this service on current node than set to MaxReplicas limit