public static boolean containsIgnoreCase ( final String string , final String [ ] strings ) { if ( null == strings ) { return false ; } return Arrays . stream ( strings ) . anyMatch ( str -> StringUtils . equalsIgnoreCase ( string , str ) ) ; }
Determines whether the specified strings contains the specified string ignoring case considerations .