boolean (@NotNull PsiElement element) { KtObjectDeclaration objectDeclaration = getParentClassOrObject(element, KtObjectDeclaration.class); return objectDeclaration != null && !objectDeclaration.isObjectLiteral(); }