docs: public Collection<LifecycleQueryApprovalStatusProposalResponse> sendLifecycleQueryApprovalStatusRequest(LifecycleQueryApprovalStatusRequest lifecycleQueryApprovalStatusRequest, Collection<Peer> peers) throws InvalidArgumentException, ProposalException {
  
          if (null == lifecycleQueryApprovalStatusRequest) {
              throw new InvalidArgumentException("The lifecycleQueryApprovalStatusRequest parameter can not be null.");
          }
  
          checkChannelState();
          checkPeers(peers);
  
          try {
  
              if (IS_TRACE_LEVEL) {
  
                  String collectionData = "null";
  
                  final org.hyperledger.fabric.protos.common.Collection.CollectionConfigPackage chaincodeCollectionConfiguration = lifecycleQueryApprovalStatusRequest.getCollectionConfigPackage();
                  if (null != chaincodeCollectionConfiguration) {
                      final byte[] asBytes = chaincodeCollectionConfiguration.toByteArray();
                      if (null != asBytes) {
                          collectionData = toHexString(asBytes);
                      }
                  }
  
                  logger.trace(format("LifecycleQueryApprovalStatus channel: %s, sequence: %d, chaincodeName: %s, chaincodeVersion: %s" +
                                  ", isInitRequired: %s, validationParameter: '%s', endorsementPolicyPlugin: %s, validationPlugin: %s" +
                                  ", collectionConfiguration: %s",
                          name,
                          lifecycleQueryApprovalStatusRequest.getSequence(),
                          lifecycleQueryApprovalStatusRequest.getChaincodeName(),
                          lifecycleQueryApprovalStatusRequest.getChaincodeVersion(),
  
                          lifecycleQueryApprovalStatusRequest.isInitRequired() + "",
                          toHexString(lifecycleQueryApprovalStatusRequest.getValidationParameter()),
                          lifecycleQueryApprovalStatusRequest.getChaincodeEndorsementPlugin(),
                          lifecycleQueryApprovalStatusRequest.getChaincodeValidationPlugin(),
                          collectionData));
  
              }
  
              TransactionContext context = getTransactionContext(lifecycleQueryApprovalStatusRequest);
  
              LifecycleQueryApprovalStatusBuilder lifecycleQueryApprovalStatusBuilder = LifecycleQueryApprovalStatusBuilder.newBuilder();
              lifecycleQueryApprovalStatusBuilder.setSequence(lifecycleQueryApprovalStatusRequest.getSequence());
              lifecycleQueryApprovalStatusBuilder.setName(lifecycleQueryApprovalStatusRequest.getChaincodeName());
              lifecycleQueryApprovalStatusBuilder.setVersion(lifecycleQueryApprovalStatusRequest.getChaincodeVersion());
              String endorsementPlugin = lifecycleQueryApprovalStatusRequest.getChaincodeEndorsementPlugin();
              if (!isNullOrEmpty(endorsementPlugin)) {
                  lifecycleQueryApprovalStatusBuilder.setEndorsementPlugin(endorsementPlugin);
              }
              String validationPlugin = lifecycleQueryApprovalStatusRequest.getChaincodeValidationPlugin();
  
              if (!isNullOrEmpty(validationPlugin)) {
                  lifecycleQueryApprovalStatusBuilder.setValidationPlugin(validationPlugin);
              }
  
              ByteString validationParameter = lifecycleQueryApprovalStatusRequest.getValidationParameter();
              if (null != validationParameter) {
                  lifecycleQueryApprovalStatusBuilder.setValidationParameter(validationParameter);
              }
  
              org.hyperledger.fabric.protos.common.Collection.CollectionConfigPackage collectionConfigPackage = lifecycleQueryApprovalStatusRequest.getCollectionConfigPackage();
  
              if (null != collectionConfigPackage) {
                  lifecycleQueryApprovalStatusBuilder.setCollections(collectionConfigPackage);
              }
  
              Boolean initRequired = lifecycleQueryApprovalStatusRequest.isInitRequired();
              if (null != initRequired) {
                  lifecycleQueryApprovalStatusBuilder.setInitRequired(initRequired);
              }
  
              lifecycleQueryApprovalStatusBuilder.context(context);
  
              SignedProposal qProposal = getSignedProposal(context, lifecycleQueryApprovalStatusBuilder.build());
              return sendProposalToPeers(peers, qProposal, context, LifecycleQueryApprovalStatusProposalResponse.class);
  
          } catch (Exception e) {
              throw new ProposalException(format("QueryNamespaceDefinitions %s channel failed. " + e.getMessage(), name), e);
  
          }
      }