@Override
    public Boolean exec(Tuple tuple) throws IOException {
        if ( tuple == null || tuple.size() == 0 || tuple.get(0) == null ) {
            return false;
        }

        String haystack = (String) tuple.get(0);
        String lowerHaystack = haystack.toLowerCase();
        for ( String needle : needles ) {
            if ( lowerHaystack.indexOf(needle) != -1 ) {
                return true;
            }
        }
        return false;
    }