private static boolean mayUseBuilder(@NotNull ASTNode node, @Nullable FoldingBuilder builder) {
    if (builder == null) return false;
    Project project = getProjectByNode(node);
    return project == null || DumbService.getInstance(project).isUsableInCurrentContext(builder);
  }
private static boolean mayUseBuilder(@NotNull ASTNode node, @Nullable FoldingBuilder builder)