class_docstr: Tag in FIF tree structure.
code: def __eq__(self, tag):  # noqa: D105
      return int(
          self.kind == tag.kind
          and self.type == tag.type
          and self.size == tag.size
          and self.next == tag.next
          and self.pos == tag.pos
          and self.data == tag.data
      )
  
imports: import html
  import re
  import struct
  from dataclasses import dataclass
  from functools import partial
  from typing import Any
  import numpy
  from scipy.sparse import csc_matrix, csr_matrix
  from ..utils import _check_option, warn
  from ..utils.numerics import _julian_to_cal
  from .constants import FIFF, _ch_coil_type_named, _ch_kind_named, _ch_unit_mul_named, _ch_unit_named, _dig_cardinal_named, _dig_kind_named
label_desc: Use image node_id 1 for calling the Tag obj's underlying member method code with example usage: obj.__eq__(tag) and returns: int