public static boolean endsWithUuid ( final String name ) { if ( name . length ( ) > 32 ) { return pattern . matcher ( name . substring ( name . length ( ) - 32 ) ) . matches ( ) ; } else { return false ; } }
Checks if the given string ends with a uuid