boolean (@NotNull String tagName) { if (tagName.length() >= BACKGROUND_SUFFIX.length()) { tagName = tagName.substring(tagName.length() - BACKGROUND_SUFFIX.length()); return tagName.equalsIgnoreCase(BACKGROUND_SUFFIX); } return false; }