docs: static boolean isAndroid(ClassLoader cl) {
      try {
        // Specify a class loader instead of null because we may be running under Robolectric
        Class.forName("android.app.Application", /*initialize=*/ false, cl);
        return true;
      } catch (Exception e) {
        // If Application isn't loaded, it might as well not be Android.
        return false;
      }
    }