public static boolean isDataUri(final String url){
  return url.startsWith(DATA_URI_PREFIX);
}

public static boolean isDataUri ( final String url ) { return url . startsWith ( DATA_URI_PREFIX ) ; }
check if the url is actually a datauri ( base64 encoded value ) .
