code: def _get_pausable_id(self):
        
        queue = self.id
        if self.id.endswith("/"):
            queue = self.root_id
        return queue
docs: Get the queue id (either id or root_id) that should be used to pause/unpause the current queue
            TODO: handle subqueues with more than one level, e.g. "queue/subqueue/"