isActiveForProfiles method
Checks if this bean is active for the given profiles
Implementation
bool isActiveForProfiles(List<String> activeProfiles) {
if (profiles.isEmpty) return true; // No profile restrictions
return profiles.any((profile) => activeProfiles.contains(profile));
}