code: func (p *DeployedCCInfoProvider) CollectionInfo(chaincodeName, collectionName string, qe ledger.SimpleQueryExecutor) (*common.StaticCollectionConfig, error) {
  	collConfigPkg, err := fetchCollConfigPkg(chaincodeName, qe)
  	if err != nil || collConfigPkg == nil {
  		return nil, err
  	}
  	for _, conf := range collConfigPkg.Config {
  		staticCollConfig := conf.GetStaticCollectionConfig()
  		if staticCollConfig != nil && staticCollConfig.Name == collectionName {
  			return staticCollConfig, nil
  		}
  	}
  	return nil, nil
  }
docs: // CollectionInfo implements function in interface ledger.DeployedChaincodeInfoProvider