docs: public static long getURLLastModified(String externalForm) {
          long lastModified = 0L;
          InputStream is = null;
          try {
              URL url = new URL(externalForm);
              URLConnection connection = url.openConnection();
              lastModified = connection.getLastModified();
              is = connection.getInputStream();
          } catch (MalformedURLException e) {
              Log.e("Incorrect URL", e);
          } catch (IOException e) {
              // This can happen also if file does not exist.
          } finally {
              closeAndIgnoreExceptions(is);
          }
          return lastModified;
      }