code: func (f *ReadyFilter) Check(n *NodeInfo) bool {
  	return n.Status.State == api.NodeStatus_READY &&
  		n.Spec.Availability == api.NodeAvailabilityActive
  }
docs: // Check returns true if the task can be scheduled into the given node.