"String".isEmpty [1] public boolean isEmpty()
空文字か真偽します。length()が0の場合にのみtrueを返します。
if (s1.isEmpty()) { System.out.println("true"); }