Useful isEmpty String method in pure Java

3613906

To ensure empty string:

public static boolean isEmpty(String value) {
    return "".equals(value);
}