boolean (final ResourceBundle resourceBundle, final String propertyName) { for (PropertiesFile propertiesFile : resourceBundle.getPropertiesFiles()) { if (propertiesFile.findPropertyByKey(propertyName) != null) { return true; } } return false; }