public static boolean isDumbOrIncompleteMode(@NotNull Project project) {
    return (DumbService.isDumb(project) && Registry.is("lombok.dumb.mode.enabled", false)) ||
           isIncompleteMode(project);
  }
public static boolean isDumbOrIncompleteMode(@NotNull Project project)