code: def _find_topics_with_wrong_rp(topics, zk, default_min_isr):
      
      topics_with_wrong_rf = []
  
      for topic_name, partitions in topics.items():
          min_isr = get_min_isr(zk, topic_name) or default_min_isr
          replication_factor = len(partitions[0].replicas)
  
          if replication_factor >= min_isr + 1:
              continue
  
          topics_with_wrong_rf.append({
              'replication_factor': replication_factor,
              'min_isr': min_isr,
              'topic': topic_name,
          })
  
      return topics_with_wrong_rf
docs: Returns topics with wrong replication factor.