private boolean containsIgnoreCase ( List < String > stringlist , String match ) { for ( String s : stringlist ) { if ( s . equalsIgnoreCase ( match ) ) { return true ; } } return false ; }
Checks if a list of string contains a String while ignoring case