code: @Override
      public Boolean parse(final CharSequence text) throws ParseException {
          if (text != null) {
              String value = text.toString();
              if (value.equalsIgnoreCase("true") || value.equalsIgnoreCase("Yes")) {
                  return true;
              }
              try {
                  Integer i = Integer.valueOf(value);
                  return i != 0;
              } catch (Exception e) {
              }
          }
          return false;
      }
docs: {@inheritDoc}