<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def starts(self, layer):
 """Retrieve start positions of elements if given layer."""

        starts = []
        for data in self[layer]:
            starts.append(data[START])
        return starts