def METHOD_NAME(self) -> bool:
    assert self.slot is not None
    return (
        self.slot.parent.is_deleted or
        self.slot.parent.client.id not in globals.clients or
        self._is_canceled or
        globals.state in {globals.State.STOPPING, globals.State.STOPPED}
    )