Java tutorial
//package com.java2s; public class Main { public static Boolean booleanIsNull(String s) { if (null == s || "".equals(s)) { return false; } else { return Boolean.valueOf(s); } } }