func IsTFJobWorker(typ commonv1.ReplicaType) bool {
	return typ == TFReplicaTypeWorker
}
IsTFJobWorker returns true if the type is Worker.
package v1alpha1
import (
	commonv1 "github.com/alibaba/kubedl/pkg/job_controller/api/v1"
)
func IsTFJobChieforMaster(typ commonv1.ReplicaType) bool {
	return typ == TFReplicaTypeChief || typ == TFReplicaTypeMaster
}