<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_properties(cls):
 """Get all properties of the MessageFlags class."""

        property_names = [p for p in dir(cls)
                          if isinstance(getattr(cls, p), property)]
        return property_names