code: public static Boolean toBoolean(String str) throws PageException {
  	return toBooleanValue(str) ? Boolean.TRUE : Boolean.FALSE;
  
      }
docs: cast a Object to a Boolean Object(reference type)
  
  @param str String to cast
  @return casted Boolean Object
  @throws PageException