code: public static boolean getBoolean( String key, boolean def ) {
          String b = getProperty( key );
          if( b != null ) {
              def = b.toLowerCase().equals( "true" );
          }
          return def;
      }
docs: Retrieve a boolean value. If the property is not found, the value of <code>def</code> is returned.