code: def syncItems(self):
          
          if 'sync-target' not in self.provides:
              raise BadRequest('Requested syncList for device which do not provides sync-target')
  
          return self._server.syncItems(client=self)
docs: Returns an instance of :class:`plexapi.sync.SyncList` for current device.
  
              Raises:
                  :class:`plexapi.exceptions.BadRequest`: when the device doesn`t provides `sync-target`.