docs: private static boolean isPubSubMessage(ResponseHeaderReplayOutput<?, ?> replay) {
  
          if (replay == null) {
              return false;
          }
  
          String firstElement = replay.firstElement;
          if (replay.multiCount != null && firstElement != null) {
  
              if (replay.multiCount == 3 && firstElement.equalsIgnoreCase(PubSubOutput.Type.message.name())) {
                  return true;
              }
  
              if (replay.multiCount == 4 && firstElement.equalsIgnoreCase(PubSubOutput.Type.pmessage.name())) {
                  return true;
              }
          }
  
          return false;
      }