code: func IsControllerEnabled(name string, disabledByDefaultControllers sets.String, controllers []string) bool {
  	hasStar := false
  	for _, ctrl := range controllers {
  		if ctrl == name {
  			return true
  		}
  		if ctrl == "-"+name {
  			return false
  		}
  		if ctrl == "*" {
  			hasStar = true
  		}
  	}
  	// if we get here, there was no explicit choice
  	if !hasStar {
  		// nothing on by default
  		return false
  	}
  
  	return !disabledByDefaultControllers.Has(name)
  }
docs: // IsControllerEnabled check if a specified controller enabled or not.