code: def get_properties(cls):
          
          property_names = [p for p in dir(cls)
                            if isinstance(getattr(cls, p), property)]
          return property_names
docs: Get all properties of the MessageFlags class.