code: func (a *gcPermissionsEnforcement) isWhiteListed(groupResource schema.GroupResource, subresource string) bool {
  	for _, item := range a.whiteList {
  		if item.groupResource == groupResource && item.subresource == subresource {
  			return true
  		}
  	}
  	return false
  }
docs: // isWhiteListed returns true if the specified item is in the whitelist.