'The last header type'

@property
def payload_type(self):

    if len(self.extension_headers):
        if isinstance(self.extension_headers[(-1)], ExtensionHeader):
            return self.extension_headers[(-1)].next_header_type
    else:
        return self.next_header_type
    return None
