func Bool(value *structpb.Value) bool {
	bv, ok := value.Kind.(*structpb.Value_BoolValue)
	if !ok {
		return false
	}
	return bv.BoolValue
}
// Bool returns value as an bool. If value is
// not a BoolValue, the function returns false
Bool returns value as an bool. If value is
not a BoolValue, the function returns false
// Bool returns value as an bool . If value is // not a BoolValue the function returns false
func Bool(value *structpb.Value) bool {
	bv, ok := value.Kind.(*structpb.Value_BoolValue)
	if !ok {
		return false
	}
	return bv.BoolValue
}
func Bool ( value * structpb . Value ) bool { bv , ok := value . Kind . ( * structpb . Value_BoolValue ) if ! ok { return false } return bv . BoolValue }
Bool returns value as an bool.
Bool returns value as an bool .