private boolean containsRestrictedPrefix ( String tpl ) { for ( String i : blackPrefixList ) { if ( tpl . startsWith ( i ) ) return true ; } return false ; }
Checks if the input string contains prefixes from black list