code: func (s *strategy) profileAllowed(profile string) bool {
  	// for backwards compatibility and PSPs without a defined list of allowed profiles.
  	// If a PSP does not have allowedProfiles set then we should allow an empty profile.
  	// This will mean that the runtime default is used.
  	if len(s.allowedProfiles) == 0 && profile == "" {
  		return true
  	}
  
  	return s.allowAnyProfile || s.allowedProfiles[profile]
  }
docs: // profileAllowed checks if profile is in allowedProfiles or if allowedProfiles
  // contains the wildcard.