propertiesAreValid method
Check the property set is valid, i.e doesn't contain any not set identifiers. An empty container of properties is valid.
Implementation
bool propertiesAreValid() =>
!_container.containsKey(MqttPropertyIdentifier.notSet);