class_docstr: Represents a recorded metric value.
class_docstr_tok: ["Represents","a","recorded","metric","value","."]
code: def is_scalar(self):
      return self.is_type(RecordType.scalar)
  
imports: import time
  from dataclasses import dataclass
  from enum import Enum
  from typing import Any, Iterable, Iterator, Optional, Tuple, Union
label_desc: Use image node_id 8 for calling the MetricRecord obj's underlying member method code with example usage: obj.is_scalar() and returns: self