boolean (@NotNull Element element) { if (!element.getName().equals("env")) { return false; } var name = element.getAttributeValue(Constants.NAME); var value = element.getAttributeValue(Constants.VALUE); return name != null && value != null && EnvironmentUtil.containsEnvKeySubstitution(name, value); }