code: private static Object toBoolean( String value)
      {
      return
        "true".equalsIgnoreCase( value)?
        Boolean.TRUE :
  
        "false".equalsIgnoreCase( value)?
        Boolean.FALSE :
  
        null;
      }
docs: Returns the Boolean represented by the given string, or null if not a boolean value.