<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def layers(self):
 """ gets the layers for the feature service """

        if self._layers is None:
            self.__init()
        self._getLayers()
        return self._layers