@ PublicEvolving public boolean getBoolean ( ConfigOption < Boolean > configOption , boolean overrideDefault ) { Object o = getRawValueFromOption ( configOption ) ; if ( o == null ) { return overrideDefault ; } return convertToBoolean ( o ) ; }
Returns the value associated with the given config option as a boolean . If no value is mapped under any key of the option it returns the specified default instead of the option s default value .