private boolean containsIgnoreCase(List<String> stringlist,String match){
  for (  String s : stringlist) {
    if (s.equalsIgnoreCase(match)) {
      return true;
    }
  }
  return false;
}

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
