code: def new(self):
          # type: () -> None
          '''
          A method to create a new UDF Terminating Descriptor.
  
          Parameters:
           None.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('UDF Terminating Descriptor already initialized')
  
          self.desc_tag = UDFTag()
          self.desc_tag.new(8)  # FIXME: we should let the user set serial_number
  
          self._initialized = Truf new(self):
          # type: () -> None
          '''
          A method to create a new UDF Terminating Descriptor.
  
          Parameters:
           None.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('UDF Terminating Descriptor already initialized')
  
          self.desc_tag = UDFTag()
          self.desc_tag.new(8)  # FIXME: we should let the user set serial_number
  
          self._initialized = True
docs: A method to create a new UDF Terminating Descriptor.
  
          Parameters:
           None.
          Returns:
           Nothing.