question: private boolean isStrInList ( String name , String [ ] list ) { boolean retValue = false ; if ( list != null ) { for ( int i = 0 ; i < list . length ; i ++ ) { if ( name . startsWith ( list [ i ] ) ) { retValue = true ; break ; } } } return retValue ; }
target:  isStrInList Is the string 'name' in the list of strings.