<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _set_properties(self, data):
 """ set the properties of the app model by the given data dict """

        for property in data.keys():
            if property in vars(self):
                setattr(self, property, data[property])