boolean (@NotNull ASTNode child) { if (myNode.getPsi() instanceof PySliceExpression sliceExpression) { final PyExpression operand = sliceExpression.getOperand(); return operand.getNode() == child; } return false; }