public boolean isNamedTopologyPaused(final String topologyName) {
        return topologyMetadata.isPaused(topologyName);
    }
Checks if a given topology is paused.
@param topologyName If null, assume that we are checking the `UNNAMED_TOPOLOGY`.
@return A boolean indicating if the topology is paused.
streams/src/main/java/org/apache/kafka/streams/processor/internals/namedtopology/KafkaStreamsNamedTopologyWrapper.java