public function serializeBool($value, XmlStreamWriter $xmlWriter, string $tagName = null): XmlStreamWriter
    {
        return $this->serializeScalarValue(
                $this->convertBoolToString($value),
                $xmlWriter,
                null === $tagName ? 'boolean' : $tagName
        );
    }