class_docstr: Data structure that manages the metric data (e.g., loss, accuracy, etc.).
  
  NOTE: Multiple metrics and minimized metrics are not supported in the current iteration.
  
  Parameters
  ----------
  strict
      Whether to convert the metrics into a float.
      If ``true``, only float metrics or dict with "default" are accepted.
docstr: Return whether the metrics has been (at least partially) filled.
docstr_tok: ["Return","whether","the","metrics","has","been","(","at","least","partially",")","filled","."]
code: def __bool__(self):
      """Return whether the metrics has been (at least partially) filled."""
      return bool(self.intermediates or self.final)
  
file_path: nni/nni/nas/space/metrics.py
imports: from __future__ import annotations
  from typing import Any, Sequence, cast
  from nni.typehint import TrialMetric
label_desc: Use image node_id 2 for calling the Metrics obj's underlying member method code with example usage: obj.__bool__() and returns: bool