code: def dispatch_hook(cls, _pkt=b"", *args, **kargs):
            # noqa: E501
          if _pkt and len(_pkt) >= 1:
              if orb(_pkt[0]) == 0x41:
                  return LoWPANUncompressedIPv6
              if orb(_pkt[0]) == 0x42:
                  return LoWPAN_HC1
              if orb(_pkt[0]) >> 3 == 0x18:
                  return LoWPANFragmentationFirst
              elif orb(_pkt[0]) >> 3 == 0x1C:
                  return LoWPANFragmentationSubsequent
              elif orb(_pkt[0]) >> 6 == 0x02:
                  return LoWPANMesh
              elif orb(_pkt[0]) >> 6 == 0x01:
                  return LoWPAN_IPHC
          return cls
docs: Depending on the payload content, the frame type we should interpretate