code: def _getLayers(self):
          
          params = {"f": "json"}
  
          json_dict = self._get(self._url, params,
                                   securityHandler=self._securityHandler,
                                   proxy_url=self._proxy_url,
                                   proxy_port=self._proxy_port)
          self._layers = []
          if 'layers' in json_dict:
              for l in json_dict["layers"]:
                  self._layers.append(
                      layer.FeatureLayer(url=self._url + "/%s" % l['id'],
                                         securityHandler=self._securityHandler,
                                         proxy_port=self._proxy_port,
                                         proxy_url=self._proxy_url)
                  )
docs: gets layers for the featuer service