private static boolean dedentAfterLastStatement(@NotNull PyAstStatementList statementList) {
    final PyAstStatement[] statements = statementList.getStatements();
    if (statements.length == 0) {
      return false;
    }
    final PyAstStatement last = statements[statements.length - 1];
    return last instanceof PyAstReturnStatement || last instanceof PyAstRaiseStatement || last instanceof PyAstPassStatement || isEllipsis(last);
  }
private static boolean dedentAfterLastStatement(@NotNull PyAstStatementList statementList)