private static boolean isSubscriptionOperand(@NotNull ASTNode child) {
    return child.getTreeParent().getElementType() == PyElementTypes.SUBSCRIPTION_EXPRESSION &&
           child.getPsi() == ((PyAstSubscriptionExpression)child.getTreeParent().getPsi()).getOperand();
  }
private static boolean isSubscriptionOperand(@NotNull ASTNode child)