question: public static boolean isWildcard ( String format ) { String routerUrl = cleanUrl ( format ) ; String [ ] routerParts = routerUrl . split ( "/" ) ; for ( String routerPart : routerParts ) { if ( routerPart . length ( ) > 2 && routerPart . charAt ( 0 ) == ':' && routerPart . charAt ( routerPart . length ( ) - 1 ) == ':' ) { return true ; } } return false ; }
target:  Check if given router url format is a :wildcard: format