boolean (@NotNull PsiElement element) { if (element instanceof JsonStringLiteral || element instanceof JsonReferenceExpression) { final PsiElement parent = element.getParent(); if (!(parent instanceof JsonProperty) || ((JsonProperty)parent).getNameElement() != element) return false; element = parent; } return element instanceof JsonProperty && ((JsonProperty)element).getValue() != null; }