public static boolean isEmpty(final String[] a) {
        if (a == null) {
            return true;
        }

        for (final String s : a) {
            if (StringUtils.isNotEmpty(s)) {
                return false;
            }
        }
        return true;
    }
checks if an Array of Strings is empty or not. Empty means:
- Array is null
- or all elements are null or empty strings
main/src/main/java/cgeo/geocaching/connector/gc/GCLogin.java