<?php is_bool(mixed $value): bool
<?php protected function toValue($value): ?string { if (is_bool($value)) { return $value ? 'true' : 'false'; }