code: func isKeyPresent(key string, manager *license.Manager) bool {
  	infoList, _ := manager.List(context.TODO())
  
  	for _, info := range infoList {
  		if info.LicenseKey == key {
  			return true
  		}
  	}
  
  	return false
  }
docs: // isKeyPresent iterates over the InfoList to check if the license is present or not.