code: def _check_field_type(self, pkt, index):
          
          my_idx = pkt.fields_desc.index(self)
          try:
              next_field = pkt.fields_desc[my_idx + index]
              if type(next_field) is not LEBitField and \
                 next_field.__class__.__base__ is not LEBitField:
                  raise LEBitFieldSequenceException('field after field {} must '
                                                    'be of type LEBitField or '
                                                    'derived classes'.format(self.name))  # noqa: E501
          except IndexError:
              # no more fields -> error
              raise LEBitFieldSequenceException('Missing further LEBitField '
                                                'based fields after field '
                                                '{} '.format(self.name))
docs: check if the field addressed by given index relative to this field
          shares type of this field so we can catch a mix of LEBitField
          and BitField/other types