question: private boolean isValidAnonUserName ( ) { if ( isCaseSensitive ) { return validAnonUsernames . contains ( usernameParam ) ; } else { for ( Iterator it = validAnonUsernames . iterator ( ) ; it . hasNext ( ) ; ) { String name = ( String ) it . next ( ) ; if ( name != null && name . equalsIgnoreCase ( usernameParam ) ) { usernameParam = name ; return true ; } } } return false ; }
target:  check if the userName is a valid anonymous user name in either case sensitive or insensitive cases.