docs: def _assertField(self, fieldname):
          """Raise AttributeError when Packet has no field with the given
          name."""
          if not self._hasattr(fieldname):
              values = self._defn.name, fieldname
              raise AttributeError("Packet '%s' has no field '%s'" % values)