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