public static boolean containsAny(final Collection<?> collection, final Object... items) {
        if (collection != null) {
            for (final Object item : items) {
                final boolean b = collection.contains(item);
                if (b) {
                    return true;
                }
            }
        }
        return false;
    }
public static boolean containsAny ( final Collection < ? > collection , final Object ... items ) { if ( collection != null ) { for ( final Object item : items ) { final boolean b = collection . contains ( item ) ; if ( b ) { return true ; } } } return false ; }
@return true if collection is not null and contains the items