public static boolean isAssetUri(Uri uri) {
        return ContentResolver.SCHEME_FILE.equals(uri.getScheme()) && !uri.getPathSegments().isEmpty()
                && ASSET_PATH_SEGMENT.equals(uri.getPathSegments().get(0));
    }
Returns true if the given {@link Uri} matches the asset uri pattern.
core/src/main/java/com/bumptech/glide/load/model/AssetUriParser.java