code: def __eq__(self, other):
      return self.__class__ is other.__class__ and (
          self._label,
          list(self),
          self.prob(),
      ) == (other._label, list(other), other.prob())
  
file_path: nltk/nltk/tree/probabilistic.py
imports: from nltk.internals import raise_unorderable_types
  from nltk.probability import ProbabilisticMixIn
  from nltk.tree.immutable import ImmutableProbabilisticTree
  from nltk.tree.tree import Tree
label_desc: Use image node_id 7 for calling the ProbabilisticTree obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown