Checks if tracker exists for the specified ID. This method may be overridden by the specific tracker store for faster implementations. Args: conversation_id: Conversation ID to check if the tracker exists. Returns: `True` if the tracker exis
(self, conversation_id: Text)
| 248 | raise NotImplementedError() |
| 249 | |
| 250 | async def exists(self, conversation_id: Text) -> bool: |
| 251 | """Checks if tracker exists for the specified ID. |
| 252 | |
| 253 | This method may be overridden by the specific tracker store for |
| 254 | faster implementations. |
| 255 | |
| 256 | Args: |
| 257 | conversation_id: Conversation ID to check if the tracker exists. |
| 258 | |
| 259 | Returns: |
| 260 | `True` if the tracker exists, `False` otherwise. |
| 261 | """ |
| 262 | return await self.retrieve(conversation_id) is not None |
| 263 | |
| 264 | async def retrieve(self, sender_id: Text) -> Optional[DialogueStateTracker]: |
| 265 | """Retrieves tracker for the latest conversation session. |