spring-geode/src/main/java/org/springframework/geode/data/AbstractCacheDataImporterExporter.java
/**
	 * Determines whether the Cache Data Import data access operation is enabled based on the configured, active/default
	 * {@literal Profiles} as declared in the Spring {@link Environment}.
	 *
	 * @param environment {@link Environment} used to evaluate the configured, active {@literal Profiles};
	 * must not be {@literal null}.
	 * @return a boolean value indicating whether the the Cache Data Import data access operation is enabled based on
	 * the configured, active/default {@literal Profiles}.
	 * @throws IllegalArgumentException if {@link Environment} is {@literal null}.
	 * @see org.springframework.core.env.Environment
	 * @see #useDefaultProfilesIfEmpty(Environment, Set)
	 * @see #getActiveProfiles(Environment)
	 */
Determines whether the Cache Data Import data access operation is enabled based on the configured, active/default
Profiles as declared in the Spring  Environment.

@param environment  Environment used to evaluate the configured, active  Profiles;
must not be  null.
@return a boolean value indicating whether the the Cache Data Import data access operation is enabled based on
the configured, active/default  Profiles.
@throws IllegalArgumentException if  Environment is  null.
Determines whether the Cache Data Import data access operation is enabled based on the configured active / default Profiles as declared in the Spring Environment . @param environment Environment used to evaluate the configured active Profiles ; must not be null . @return a boolean value indicating whether the the Cache Data Import data access operation is enabled based on the configured active / default Profiles . @throws IllegalArgumentException if Environment is null .
protected boolean isImportProfilesActive(@NonNull Environment environment) {
		Assert.notNull(environment, "Environment must not be null");
		boolean importProfilesActive = true;
		String cacheDataImportActiveProfiles =
			environment.getProperty(CACHE_DATA_IMPORT_ACTIVE_PROFILES_PROPERTY_NAME,
				DEFAULT_CACHE_DATA_IMPORT_ACTIVE_PROFILES);
		Set<String> cacheDataImportProfiles = commaDelimitedStringToSet(cacheDataImportActiveProfiles);
		if (!cacheDataImportProfiles.isEmpty()) {
			Set<String> configuredProfiles = useDefaultProfilesIfEmpty(environment, getActiveProfiles(environment));
			importProfilesActive = CollectionUtils.containsAny(configuredProfiles, cacheDataImportProfiles);
		}
		return importProfilesActive;
	}
protected boolean isImportProfilesActive ( @ NonNull Environment environment ) { Assert . notNull ( environment , "Environment must not be null" ) ; boolean importProfilesActive = true ; String cacheDataImportActiveProfiles = environment . getProperty ( CACHE_DATA_IMPORT_ACTIVE_PROFILES_PROPERTY_NAME , DEFAULT_CACHE_DATA_IMPORT_ACTIVE_PROFILES ) ; Set < String > cacheDataImportProfiles = commaDelimitedStringToSet ( cacheDataImportActiveProfiles ) ; if ( ! cacheDataImportProfiles . isEmpty ( ) ) { Set < String > configuredProfiles = useDefaultProfilesIfEmpty ( environment , getActiveProfiles ( environment ) ) ; importProfilesActive = CollectionUtils . containsAny ( configuredProfiles , cacheDataImportProfiles ) ; } return importProfilesActive ; }
Determines whether the Cache Data Import data access operation is enabled based on the configured, active/default
 {@literal Profiles} as declared in the Spring {@link Environment}.
Determines whether the Cache Data Import data access operation is enabled based on the configured active / default { @literal Profiles } as declared in the Spring { @link Environment } .
// The configured, "Active Profiles" must contain at least 1 of the configured cacheDataImportProfiles.