docs: private static boolean isOnStack(int moreThan, String canonicalName) {
          StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace();
          int count = 0;
          for (StackTraceElement element : stackTrace) {
              if (element.getClassName().startsWith(canonicalName)) {
                  count++;
              }
          }
          return count > moreThan;
      }