docs: public ChaincodeCollectionConfiguration getChaincodeCollectionConfiguration() throws ProposalException {
          Collection.CollectionConfigPackage collections = parsePayload().getCollections();
  
          if (null == collections || !parsePayload().hasCollections()) {
              return null;
          }
          try {
              return ChaincodeCollectionConfiguration.fromCollectionConfigPackage(collections);
          } catch (InvalidArgumentException e) {
              throw new ProposalException(e);
          }
      }