set value as boolean