Returns `true` if the session has ended.
(&self)
| 119 | |
| 120 | /// Returns `true` if the session has ended. |
| 121 | pub fn is_ended(&self) -> bool { |
| 122 | matches!(self, Phase::Ended) |
| 123 | } |
| 124 | |
| 125 | /// Returns `true` if the session is idle (no active turn). |
| 126 | pub fn is_idle(&self) -> bool { |