List of usage examples for org.springframework.core.env PropertySources contains
boolean contains(String name);
From source file:org.cloudfoundry.reconfiguration.spring.CloudPropertySourceApplicationContextInitializer.java
private boolean hasCloudPropertySource(PropertySources propertySources) { return propertySources.contains(CLOUD_PROPERTY_SOURCE); }