boolean (@NotNull List<SubstitutionChunk> chunks, @NotNull SubstitutionChunk chunk, @NotNull PsiElement valueSource, @NotNull PyExpression expression) { if ((chunk.getMappingKey() != null || chunks.size() > 1) && expression == valueSource) return false; return super.checkReferencedExpression(chunks, chunk, valueSource, expression); }