code: public static boolean toBooleanValue(String str) throws PageException {
  	Boolean b = toBoolean(str, null);
  	if (b != null) return b.booleanValue();
  	throw new CasterException("Can't cast String [" + CasterException.crop(str) + "] to a boolean");
      }
docs: cast a Object to a boolean value (primitive value type)
  
  @param str String to cast
  @return casted boolean value
  @throws PageException