Is there a function in here that will automatically parse a topic to the appropriate message type?
For example, in examples, you perform many if/else statements that correspond 1:1 on how to parse.
https://github.com/OpenBMP/openbmp-python-api-message/blob/master/examples/log_consumer.py#L32
Is there a generic function to do this in the API?