r"""Check if a task with the given id exists.
(self, task_id: str)
| 312 | return f"{len(self.tasks)}" |
| 313 | |
| 314 | def exist(self, task_id: str) -> bool: |
| 315 | r"""Check if a task with the given id exists.""" |
| 316 | return task_id in self.task_map |
| 317 | |
| 318 | @property |
| 319 | def current_task(self) -> Optional[Task]: |