code: public boolean getModuleParamBoolean(String moduleName, String paramName) {
          Map<String, Object> moduleParams = getModuleParams(moduleName);
          if (moduleParams == null || !moduleParams.containsKey(paramName)) {
              return false;
          }
          Object value = moduleParams.get(paramName);
          try {
              return Boolean.parseBoolean(value.toString());
          } catch (Exception e) {
              throw new RuntimeException("Configuration parameter '" + moduleName + "." +
                                          paramName + "' must be a Boolean: " + value);
          }
      }
docs: Get the boolean value of the given parameter name belonging to the given module
  name. If no such module/parameter name is known, false is returned. If the given
  value is not a String, a RuntimeException is thrown. Boolean.parseBoolean() is
  used to parse the value, which will return false if the String value is anything
  other than "true" (case-insensitive).
  
  @param moduleName    Name of module to get parameter for.
  @param paramName     Name of parameter to get value of.
  @return              True if the module and parameter exist with the value "true"
  (case-insensitive), otherwise false.