public boolean containsPartition(TopicPartition partition) {
            return name.equals(partition.topic()) && partition.partition() < partitions;
        }
Find existing topics with the given prefix.
tools/src/main/java/org/apache/kafka/tools/automq/perf/TopicService.java