// Given an HSM state returns if it is a viable state.
Given an HSM state returns if it is a viable state.
// Given an HSM state returns if it is a viable state .
func goodHSMState(state string) bool {
	switch state {
	case base.StateOn.String():
		fallthrough
	case base.StateReady.String():
		return true
	default:
		return false
	}
	return false
}
func goodHSMState ( state string ) bool { switch state { case base . StateOn . String ( ) : fallthrough case base . StateReady . String ( ) : return true default : return false } return false }
Given an HSM state returns if it is a viable state.
Given an HSM state returns if it is a viable state .