*/
  public static NormalInferenceLevel currentInferenceLevel() {
    { InferenceLevel level = ((((QueryIterator)(Logic.$QUERYITERATOR$.get())) != null) ? ((QueryIterator)(Logic.$QUERYITERATOR$.get())).inferenceLevel : ((InferenceLevel)(KeyValueList.dynamicSlotValue(((Module)(Stella.$MODULE$.get())).dynamicSlots, Logic.SYM_LOGIC_INFERENCE_LEVEL, null))));

      if (level != null) {
        return (((NormalInferenceLevel)(level)));
      }
      else {
        return (((NormalInferenceLevel)(Logic.$INFERENCELEVEL$.get())));
      }
    }
  }