class_docstr: Class containing information about nuclear family relatedness and sex.
  
  :param str s: Sample ID of proband.
  
  :param fam_id: Family ID.
  :type fam_id: str or None
  
  :param pat_id: Sample ID of father.
  :type pat_id: str or None
  
  :param mat_id: Sample ID of mother.
  :type mat_id: str or None
  
  :param is_female: Sex of proband.
  :type is_female: bool or None
code: def __eq__(self, other):
      return (
          isinstance(other, Trio)
          and self._s == other._s
          and self._mat_id == other._mat_id
          and self._pat_id == other._pat_id
          and self._fam_id == other._fam_id
          and self._is_female == other._is_female
      )
  
imports: import re
  from collections import Counter
  from hail.typecheck import typecheck_method, nullable, sequenceof
  from hail.utils.java import Env, FatalError, warning
label_desc: Use image node_id 4 for calling the Trio obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown