question: public static boolean parseBooleanParam ( String value ) { if ( value == null ) { return false ; } if ( value . equalsIgnoreCase ( "false" ) || value . equals ( "0" ) ) { return false ; } return true ; }
target:  Parse a boolean query parameter value Unlike Boolean.parseBoolean this will treat any value except null, false and 0 as true.