docs: public Collection<LifecycleApproveChaincodeDefinitionForMyOrgProposalResponse> sendLifecycleApproveChaincodeDefinitionForMyOrgProposal(
              LifecycleApproveChaincodeDefinitionForMyOrgRequest lifecycleApproveChaincodeDefinitionForMyOrgRequest,
              Collection<Peer> peers) throws ProposalException, InvalidArgumentException {
  
          if (null == lifecycleApproveChaincodeDefinitionForMyOrgRequest) {
              throw new InvalidArgumentException("The lifecycleApproveChaincodeDefinitionForMyOrgRequest parameter can not be null.");
          }
  
          checkChannelState();
          checkPeers(peers);
  
          try {
              TransactionContext transactionContext = getTransactionContext(lifecycleApproveChaincodeDefinitionForMyOrgRequest);
              // transactionContext.verify(true);
              LifecycleApproveChaincodeDefinitionForMyOrgProposalBuilder approveChaincodeDefinitionForMyOrgProposalBuilder = LifecycleApproveChaincodeDefinitionForMyOrgProposalBuilder.
                      newBuilder();
              if (IS_TRACE_LEVEL) {
  
                  logger.trace(format("LifecycleApproveChaincodeDefinitionForMyOrg channel: %s, sequence: %d, chaincodeName: %s, chaincodeVersion: %s, packageId: %s" +
                                  ", sourceUnavailable: %b, isInitRequired: %s, validationParameter: '%s', endorsementPolicyPlugin: %s, validationPlugin: %s",
                          name,
                          lifecycleApproveChaincodeDefinitionForMyOrgRequest.getSequence(),
                          lifecycleApproveChaincodeDefinitionForMyOrgRequest.getChaincodeName(),
                          lifecycleApproveChaincodeDefinitionForMyOrgRequest.getChaincodeVersion(),
                          lifecycleApproveChaincodeDefinitionForMyOrgRequest.getPackageId(),
                          lifecycleApproveChaincodeDefinitionForMyOrgRequest.isSourceUnavailable(),
                          lifecycleApproveChaincodeDefinitionForMyOrgRequest.isInitRequired() + "",
                          toHexString(lifecycleApproveChaincodeDefinitionForMyOrgRequest.getValidationParameter()),
                          lifecycleApproveChaincodeDefinitionForMyOrgRequest.getChaincodeEndorsementPlugin(),
                          lifecycleApproveChaincodeDefinitionForMyOrgRequest.getChaincodeValidationPlugin()));
  
              }
  
              approveChaincodeDefinitionForMyOrgProposalBuilder.context(transactionContext);
              approveChaincodeDefinitionForMyOrgProposalBuilder.sequence(lifecycleApproveChaincodeDefinitionForMyOrgRequest.getSequence());
              approveChaincodeDefinitionForMyOrgProposalBuilder.chaincodeName(lifecycleApproveChaincodeDefinitionForMyOrgRequest.getChaincodeName());
              approveChaincodeDefinitionForMyOrgProposalBuilder.version(lifecycleApproveChaincodeDefinitionForMyOrgRequest.getChaincodeVersion());
  
              String packageId = lifecycleApproveChaincodeDefinitionForMyOrgRequest.getPackageId();
              if (null != packageId) {
                  approveChaincodeDefinitionForMyOrgProposalBuilder.setPackageId(packageId);
              } else if (!lifecycleApproveChaincodeDefinitionForMyOrgRequest.isSourceUnavailable()) {
                  throw new InvalidArgumentException("The request must have a specific packageId or sourceNone set to true.");
              }
  
              Boolean initRequired = lifecycleApproveChaincodeDefinitionForMyOrgRequest.isInitRequired();
              if (null != initRequired) {
                  approveChaincodeDefinitionForMyOrgProposalBuilder.initRequired(initRequired);
              }
  
              final ByteString validationParamter = lifecycleApproveChaincodeDefinitionForMyOrgRequest.getValidationParameter();
              if (null != validationParamter) {
                  approveChaincodeDefinitionForMyOrgProposalBuilder.setValidationParamter(validationParamter);
              }
  
              String chaincodeCodeEndorsementPlugin = lifecycleApproveChaincodeDefinitionForMyOrgRequest.getChaincodeEndorsementPlugin();
              if (null != chaincodeCodeEndorsementPlugin) {
                  approveChaincodeDefinitionForMyOrgProposalBuilder.chaincodeCodeEndorsementPlugin(chaincodeCodeEndorsementPlugin);
              }
  
              String chaincodeCodeValidationPlugin = lifecycleApproveChaincodeDefinitionForMyOrgRequest.getChaincodeValidationPlugin();
              if (null != chaincodeCodeValidationPlugin) {
                  approveChaincodeDefinitionForMyOrgProposalBuilder.chaincodeCodeValidationPlugin(chaincodeCodeValidationPlugin);
              }
  
              ChaincodeCollectionConfiguration chaincodeCollectionConfiguration = lifecycleApproveChaincodeDefinitionForMyOrgRequest.getChaincodeCollectionConfiguration();
              if (null != chaincodeCollectionConfiguration) {
                  approveChaincodeDefinitionForMyOrgProposalBuilder.chaincodeCollectionConfiguration(chaincodeCollectionConfiguration.getCollectionConfigPackage());
              }
  
              FabricProposal.Proposal deploymentProposal = approveChaincodeDefinitionForMyOrgProposalBuilder.build();
              SignedProposal signedProposal = getSignedProposal(transactionContext, deploymentProposal);
  
              return sendProposalToPeers(peers, signedProposal, transactionContext, LifecycleApproveChaincodeDefinitionForMyOrgProposalResponse.class);
          } catch (Exception e) {
              throw new ProposalException(e);
          }
  
      }