code: public static Boolean parseBoolean(String value) throws ParseException
     {
        Boolean result = null;
        Integer number = parseInteger(value);
        if (number != null)
        {
           result = number.intValue() == 0 ? Boolean.FALSE : Boolean.TRUE;
        }
  
        return result;
     }
docs: Parse a string representation of a Boolean value.
  
  @param value string representation
  @return Boolean value