boolean (@NotNull String attributeName, @NotNull PsiElement context) { final String entitiesString = getEntitiesString(context, XmlEntitiesInspection.BOOLEAN_ATTRIBUTE_SHORT_NAME); if (entitiesString != null) { StringTokenizer tokenizer = new StringTokenizer(entitiesString, ","); while (tokenizer.hasMoreElements()) { if (tokenizer.nextToken().equalsIgnoreCase(attributeName)) { return true; } } } return false; }