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

public static boolean isDataUri ( String text ) { return text . startsWith ( DATA_URI_PREFIX ) ; }
returns true if the text passed in appears to be a data uri .
