Java tutorial
//package com.java2s; public class Main { public static boolean isEmpty(String s) { if (null != s && s.length() > 0) return false; return true; } }