code: public static boolean getUnrollRecurrentLayer(KerasLayerConfiguration conf, Map<String, Object> layerConfig)
              throws InvalidKerasConfigurationException {
          Map<String, Object> innerConfig = KerasLayerUtils.getInnerLayerConfigFromConfig(layerConfig, conf);
          if (!innerConfig.containsKey(conf.getLAYER_FIELD_UNROLL()))
              throw new InvalidKerasConfigurationException(
                      "Keras LSTM layer config missing " + conf.getLAYER_FIELD_UNROLL() + " field");
          return (boolean) innerConfig.get(conf.getLAYER_FIELD_UNROLL());
      }
docs: Get unroll parameter to decide whether to unroll RNN with BPTT or not.
  
  @param conf        KerasLayerConfiguration
  @param layerConfig dictionary containing Keras layer properties
  @return boolean unroll parameter
  @throws InvalidKerasConfigurationException Invalid Keras configuration