def write(self, ostream, kmip_version=enums.KMIPVersion.KMIP_1_0):
super(Boolean, self).write(ostream, kmip_version=kmip_version)<EOL>self.write_value(ostream, kmip_version=kmip_version)<EOL>
Write the encoding of the Boolean object to the output stream.

Args:
    ostream (Stream): A buffer to contain the encoded bytes of a
        Boolean object. Usually a BytearrayStream object. Required.
    kmip_version (KMIPVersion): An enumeration defining the KMIP
        version with which the object will be encoded. Optional,
        defaults to KMIP 1.0.