class TypeUtils {

    public static boolean isFalse(Object o) {
        if (o == null)
            return false;
        if (o instanceof Boolean)
            return !(Boolean) o;
        return "false".equalsIgnoreCase(o.toString());
    }

}