public static InferenceWorkerSuspendReason fromCycSymbol(final CycSymbol symbol) {
    final InferenceWorkerSuspendReason reason = SYMBOL_MAP.get(symbol);
    if (reason != null) {
      return reason;
    } else if (symbol == null) {
      return UNKNOWN;
    } else {
      throw new IllegalArgumentException("Unable to find InferenceWorkerSuspendReason from " + symbol);
    }
  }