code: private Boolean _convertToBoolean(Object value)
      {
          Boolean booleanValue;
          if (value instanceof Boolean)
          {
              booleanValue = (Boolean) value;
          }
          else
          {
              booleanValue = Boolean.parseBoolean(value.toString());
          }
          return booleanValue;
      }
docs: Convert the Object to a Boolean.
  @param value
  @return