<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_property(self, index, doctype, name):
 """ Returns a property of a given type :return a mapped property """


        return self.indices[index][doctype].properties[name]