boolean (@NotNull JsonProperty property) { PsiElement element = property.getNextSibling(); while (element != null) { if (element instanceof JsonProperty) { return true; } if (element.getNode().getElementType() == JsonElementTypes.COMMA) { return false; } element = element.getNextSibling(); } return false; }