code: protected List<ConsumerHolder> filterConsumersForActiveFlag(boolean active) {
          List<ConsumerHolder> consumerHolderSubList = new LinkedList<ConsumerHolder>();
          for (ConsumerHolder consumerHolder : consumerHolders) {
              if (consumerHolder.isActive() == active) {
                  consumerHolderSubList.add(consumerHolder);
              }
          }
          return consumerHolderSubList;
      }
docs: Filters the consumers matching the given active flag from the list of managed consumers.
  
  @param active Whether to filter for active or inactive consumers
  @return The filtered consumers