def is_packet_type(cls):
    """Check if class is one the packet types."""
    from .packet_types import EddystoneUIDFrame, EddystoneURLFrame, EddystoneEncryptedTLMFrame, EddystoneTLMFrame, EddystoneEIDFrame, IBeaconAdvertisement, EstimoteTelemetryFrameA, EstimoteTelemetryFrameB
    return cls in [EddystoneURLFrame, EddystoneUIDFrame,
        EddystoneEncryptedTLMFrame, EddystoneTLMFrame, EddystoneEIDFrame,
        IBeaconAdvertisement, EstimoteTelemetryFrameA, EstimoteTelemetryFrameB]
