public static boolean getBooleanValue(String primaryKey) {
        Object val = CFG.get(primaryKey);
        if (val == null) {
            throw new SofaRpcRuntimeException(LogCodes.getLog(LogCodes.ERROR_NOT_FOUND_KEY, primaryKey));
        } else {
            return Boolean.valueOf(val.toString());
        }
    }
Gets boolean value.

@param primaryKey the primary key
@return the boolean value
core/api/src/main/java/com/alipay/sofa/rpc/common/RpcConfigs.java