boolean (@NotNull ASTNode node) { final ASTNode fStringFragmentParent = node.getElementType() == PyElementTypes.FSTRING_FRAGMENT ? node : TreeUtil.findParent(node, TokenSet.create(PyElementTypes.FSTRING_FRAGMENT), stopAtTokens); if (fStringFragmentParent == null) return false; return fStringFragmentParent.findChildByType(PyTokenTypes.EQ) != null; }