Metrics Exist: Checks if the given metrics/stats exist for the given frame. Returns: bool: True if the given metric keys exist for the frame, False otherwise.
(self, timecode: int | FrameTimecode, metric_keys: ty.Iterable[str])
| 145 | self._set_metric(timecode, metric_key, metric_kv_dict[metric_key]) |
| 146 | |
| 147 | def metrics_exist(self, timecode: int | FrameTimecode, metric_keys: ty.Iterable[str]) -> bool: |
| 148 | """Metrics Exist: Checks if the given metrics/stats exist for the given frame. |
| 149 | |
| 150 | Returns: |
| 151 | bool: True if the given metric keys exist for the frame, False otherwise. |
| 152 | """ |
| 153 | return all([self._metric_exists(timecode, metric_key) for metric_key in metric_keys]) |
| 154 | |
| 155 | def is_save_required(self) -> bool: |
| 156 | """Is Save Required: Checks if the stats have been updated since loading. |