docs: def allLayers(self):
          """ returns all layers for the service """
          url = self._url + "/layers"
          params = {
              "f" : "json"
          }
          res = self._get(url, param_dict=params,
                             securityHandler=self._securityHandler,
                             proxy_url=self._proxy_url,
                             proxy_port=self._proxy_port)
          return_dict = {
              "layers" : [],
              "tables" : []
          }
          for k, v in res.items():
              if k == "layers":
                  for val in v:
                      return_dict['layers'].append(
                          FeatureLayer(url=self._url + "/%s" % val['id'],
                                       securityHandler=self._securityHandler,
                                       proxy_url=self._proxy_url,
                                       proxy_port=self._proxy_port)
                      )
              elif k == "tables":
                  for val in v:
                      return_dict['tables'].append(
                          TableLayer(url=self._url + "/%s" % val['id'],
                                     securityHandler=self._securityHandler,
                                     proxy_url=self._proxy_url,
                                     proxy_port=self._proxy_port)
                      )
              del k,v
          return return_dict