def getBooleanFromDictionaryDefault(defaultBoolean, dictionary, key):
 if (key not in dictionary):
  return defaultBoolean
 return getBooleanFromValue(dictionary[key])

def getBooleanFromDictionaryDefault ( defaultBoolean , dictionary , key ) : if ( key not in dictionary ) : return defaultBoolean return getBooleanFromValue ( dictionary [ key ] )
get boolean from the dictionary and key .