Converts the CDocBuilderValue object to a boolean value.
builder = docbuilder.CDocBuilder() context = builder.GetContext() globalObj = context.GetGlobal() bGlobal = globalObj.ToBool()