public static boolean hasBeenCreated() {
    return sInstance != null;
  }
Check if getInstance() has ever been called.

<p>This is for a minor optimization to avoid creating a ScreenshotImpl at onDestroy() if it was
never called during the run.
core/src/main/java/com/facebook/testing/screenshot/internal/ScreenshotImpl.java