public static boolean isEmpty(String str) {
        return str == null || str.isEmpty();
    }
Searches for some pattern in the directory listing entry list
This requires that the entry name start with "::DataSpaceStorage"
See TIKA-4204

@param list
@param pattern
@return an index, if nothing found returns -1
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/chm/ChmCommons.java