public static boolean asBoolean(Object value, boolean nullValue) {
		value=convert(Boolean.class,value);
		return (value!=null)
			? ((Boolean)value).booleanValue()
			: nullValue;
	}
public static boolean asBoolean ( Object value , boolean nullValue ) { value = convert ( Boolean . class , value ) ; return ( value != null ) ? ( ( Boolean ) value ) . booleanValue ( ) : nullValue ; }
Return the value converted to a boolean
or the specified alternate value if the original value is null. Note,
this method still throws {@link IllegalArgumentException} if the value
is not null and could not be converted.

@param	value
The value to be converted
@param	nullValue
The value to be returned if {@link value} is null. Note, this
value will not be returned if the conversion fails otherwise.
@throws	IllegalArgumentException
If the value cannot be converted