code: def __eq__(self, others):
      return isinstance(others, Foo) and self.id == others.id
  
imports: from collections.abc import Sequence
  from typing import Optional
  import tensorflow
  from tfx.orchestration.portable import data_types
  from tfx.orchestration.portable.execution import di_providers
  from tfx.types import artifact
  from tfx.utils.di import errors
  from tfx.utils.di import module
label_desc: Use image node_id 2 for calling the Foo obj's underlying member method code with example usage: obj.__eq__(others) and returns: unknown