code: def __eq__(self, other):
      # We don't want to compare as equal to actual strings, but we want to behave
      # like a string code-wise. Don't use `is` comparison because we want
      # Token instances created across picklings to equals-compare
      return isinstance(other, Token) and super().__eq__(other)
  
file_path: pytext/pytext/common/constants.py
imports: from enum import Enum
  from typing import Tuple
  import torch
label_desc: Use image node_id 1 for calling the Token obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown