question: private boolean isInWhiteList ( String tpl ) { if ( ( ! whiteList . isEmpty ( ) && whiteList . contains ( tpl ) ) || ( whiteList . isEmpty ( ) ) ) { return true ; } return false ; }
target:  Checks if the input string is in white list