public boolean getIsIntermediateStream(String streamId) {
    return getBoolean(String.format(IS_INTERMEDIATE_FOR_STREAM_ID, streamId), false);
  }
Gets the boolean flag of whether the specified streamId is an intermediate stream

@param streamId the identifier for the stream in the config.
@return true if the stream is intermediate
samza-core/src/main/java/org/apache/samza/config/StreamConfig.java