parameters: (self, tag, val)
docstring: Write a value as a TLV boolean with the specified TLV tag.
docstring_summary: Write a value as a TLV boolean with the specified TLV tag.
docstring_tokens: Write a value as a TLV boolean with the specified TLV tag .
function: def putBool(self, tag, val):
          '''Write a value as a TLV boolean with the specified TLV tag.'''
          if val:
              type = TLVBoolean_True
          else:
              type = TLVBoolean_False
          controlAndTag = self._encodeControlAndTag(type, tag)
          self._encoding.extend(controlAndTag)
function_tokens: def putBool ( self , tag , val ) : if val : type = TLVBoolean_True else : type = TLVBoolean_False controlAndTag = self . _encodeControlAndTag ( type , tag ) self . _encoding . extend ( controlAndTag )