@Override
  public boolean isApplicableTo(@NotNull PsiElement e) {
    if (e instanceof PyWhileStatement whileStatement) {
      final PyStatementList statementList = whileStatement.getWhilePart().getStatementList();
      final PyStatement[] statements = statementList.getStatements();
      return statements.length == 1 && !(statements[0] instanceof PyPassStatement) || statements.length > 1;
    }
    return false;
  }
@Override
  public boolean isApplicableTo(@NotNull PsiElement e)